home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Arcade•
/
Cannon Fodder ••••
/
Cannon Fodder ееее.rsrc
/
CODE_1.txt
< prev
next >
Wrap
Text File
|
1989-03-23
|
140KB
|
2,574 lines
# near model CODE resource
# jump table entries: 8-39 (32 of them)
fn00000000:
00000000 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00000004 2F00 move.l -[A7], D0
00000006 4E56 FFE2 link A6, -0x001E
0000000A 2D49 FFFC move.l [A6 - 0x4], A1
label0000000E:
0000000E 486E FFFC pea.l [A6 - 0x4]
00000012 2F08 move.l -[A7], A0
00000014 486E FFE2 pea.l [A6 - 0x1E]
00000018 3F3C 000B move.w -[A7], 0xB
0000001C A9EB syscall Pack4/FP68K
0000001E 0C6E 013F FFE6 cmpi.w [A6 - 0x1A], 0x13F
00000024 6608 bne +0xA /* 0000002E */
00000026 7013 moveq.l D0, 0x13
00000028 2D40 FFFC move.l [A6 - 0x4], D0
0000002C 60E0 bra -0x1E /* 0000000E */
label0000002E:
0000002E 2F09 move.l -[A7], A1
00000030 486E FFE2 pea.l [A6 - 0x1E]
00000034 2F01 move.l -[A7], D1
00000036 4EBA 0006 jsr [PC + 0x6 /* 0000003E */]
0000003A 4E5E unlink A6
0000003C 4E75 rts
fn0000003E:
0000003E 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
00000042 4E56 0000 link A6, 0
00000046 2A2E 0020 move.l D5, [A6 + 0x20]
0000004A 206E 0018 movea.l A0, [A6 + 0x18]
0000004E 226E 001C movea.l A1, [A6 + 0x1C]
00000052 2819 move.l D4, [A1]+
00000054 5248 addq.w A0, 1
00000056 243C FFFF FFB0 move.l D2, 0xFFFFFFB0
0000005C 7200 moveq.l D1, 0x00
0000005E 1219 move.b D1, [A1]+
00000060 671E beq +0x20 /* 00000080 */
00000062 0804 0018 btst.b D4, 0x18
00000066 6706 beq +0x8 /* 0000006E */
00000068 10FC 002D move.b [A0]+, 0x2D /* '-' */
0000006C 600A bra +0xC /* 00000078 */
label0000006E:
0000006E 0805 0018 btst.b D5, 0x18
00000072 6606 bne +0x8 /* 0000007A */
00000074 10FC 0020 move.b [A0]+, 0x20 /* ' ' */
label00000078:
00000078 5242 addq.w D2, 1
label0000007A:
0000007A 1011 move.b D0, [A1]
0000007C 0C00 003F cmpi.b D0, 0x3F /* '?' */
label00000080:
00000080 6700 00FE beq +0x100 /* 00000180 */
00000084 0000 0020 ori.b D0, 0x20 /* ' ' */
00000088 0C00 0069 cmpi.b D0, 0x69 /* 'i' */
0000008C 6700 0150 beq +0x152 /* 000001DE */
00000090 0C00 006E cmpi.b D0, 0x6E /* 'n' */
00000094 6646 bne +0x48 /* 000000DC */
00000096 10FC 004E move.b [A0]+, 0x4E /* 'N' */
0000009A 10FC 0041 move.b [A0]+, 0x41 /* 'A' */
0000009E 10FC 004E move.b [A0]+, 0x4E /* 'N' */
000000A2 10FC 0028 move.b [A0]+, 0x28 /* '(' */
000000A6 117C 0029 0003 move.b [A0 + 0x3], 0x29 /* ')' */
000000AC 5A42 addq.w D2, 5
000000AE 7600 moveq.l D3, 0x00
000000B0 0C01 0005 cmpi.b D1, 0x5
000000B4 6F02 ble +0x4 /* 000000B8 */
000000B6 7205 moveq.l D1, 0x05
label000000B8:
000000B8 610C bsr +0xE /* 000000C6 */
000000BA 2003 move.l D0, D3
000000BC 6108 bsr +0xA /* 000000C6 */
000000BE E903 asl D3.b, 4
000000C0 8680 or.l D3, D0
label000000C2:
000000C2 7004 moveq.l D0, 0x04
000000C4 6068 bra +0x6A /* 0000012E */
fn000000C6:
000000C6 5341 subq.w D1, 1
000000C8 6FF8 ble -0x6 /* 000000C2 */
000000CA 1631 1000 move.b D3, [A1 + D1.w]
000000CE 0C03 0039 cmpi.b D3, 0x39 /* '9' */
000000D2 6F02 ble +0x4 /* 000000D6 */
000000D4 5F03 subq.b D3, 7
label000000D6:
000000D6 0203 000F andi.b D3, 0xF
000000DA 4E75 rts
label000000DC:
000000DC 0C11 0030 cmpi.b [A1], 0x30 /* '0' */
000000E0 6604 bne +0x6 /* 000000E6 */
000000E2 7201 moveq.l D1, 0x01
000000E4 7800 moveq.l D4, 0x00
label000000E6:
000000E6 0805 0018 btst.b D5, 0x18
000000EA 6600 009E bne +0xA0 /* 0000018A */
000000EE 4A45 tst.w D5
000000F0 6E02 bgt +0x4 /* 000000F4 */
000000F2 7A01 moveq.l D5, 0x01
label000000F4:
000000F4 7001 moveq.l D0, 0x01
000000F6 6162 bsr +0x64 /* 0000015A */
000000F8 3601 move.w D3, D1
000000FA 48C3 ext.l D3
000000FC 5383 subq.l D3, 1
000000FE 6E06 bgt +0x8 /* 00000106 */
00000100 0C45 0001 cmpi.w D5, 0x1
00000104 6F0C ble +0xE /* 00000112 */
label00000106:
00000106 6160 bsr +0x62 /* 00000168 */
00000108 3003 move.w D0, D3
0000010A 614E bsr +0x50 /* 0000015A */
0000010C 3005 move.w D0, D5
0000010E 9041 sub.w D0, D1
00000110 6168 bsr +0x6A /* 0000017A */
label00000112:
00000112 5442 addq.w D2, 2
00000114 6E6A bgt +0x6C /* 00000180 */
00000116 10FC 0065 move.b [A0]+, 0x65 /* 'e' */
0000011A 48C4 ext.l D4
0000011C D684 add.l D3, D4
0000011E 6D06 blt +0x8 /* 00000126 */
00000120 10FC 002B move.b [A0]+, 0x2B /* '+' */
00000124 6006 bra +0x8 /* 0000012C */
label00000126:
00000126 10FC 002D move.b [A0]+, 0x2D /* '-' */
0000012A 4483 neg.l D3
label0000012C:
0000012C 7000 moveq.l D0, 0x00
label0000012E:
0000012E 43FA 00BE lea.l A1, [PC + 0xBE /* 000001EE, value 0xA0064 '\n\0d', cstring "" */]
label00000132:
00000132 5440 addq.w D0, 2
00000134 B671 00FE cmp.w D3, [A1 + D0.w - 0x2]
00000138 6518 bcs +0x1A /* 00000152 */
0000013A 0C00 0008 cmpi.b D0, 0x8
0000013E 6DF2 blt -0xC /* 00000132 */
label00000140:
00000140 86F1 00FE divu.w D3, [A1 + D0.w - 0x2]
label00000144:
00000144 5242 addq.w D2, 1
00000146 6E38 bgt +0x3A /* 00000180 */
00000148 0643 0030 addi.w D3, 0x30 /* '0' */
0000014C 10C3 move.b [A0]+, D3
0000014E 4843 swap.w D3
00000150 48C3 ext.l D3
label00000152:
00000152 5540 subq.w D0, 2
00000154 6EEA bgt -0x14 /* 00000140 */
00000156 67EC beq -0x12 /* 00000144 */
00000158 606E bra +0x70 /* 000001C8 */
fn0000015A:
0000015A 6F0A ble +0xC /* 00000166 */
0000015C D440 add.w D2, D0
0000015E 6E20 bgt +0x22 /* 00000180 */
label00000160:
00000160 10D9 move.b [A0]+, [A1]+
00000162 5340 subq.w D0, 1
00000164 6EFA bgt -0x4 /* 00000160 */
label00000166:
00000166 4E75 rts
fn00000168:
00000168 5242 addq.w D2, 1
0000016A 6E14 bgt +0x16 /* 00000180 */
0000016C 10FC 002E move.b [A0]+, 0x2E /* '.' */
00000170 4E75 rts
label00000172:
00000172 5242 addq.w D2, 1
00000174 6E0A bgt +0xC /* 00000180 */
00000176 10FC 0030 move.b [A0]+, 0x30 /* '0' */
fn0000017A:
0000017A 5340 subq.w D0, 1
0000017C 6CF4 bge -0xA /* 00000172 */
0000017E 4E75 rts
label00000180:
00000180 206E 0018 movea.l A0, [A6 + 0x18]
00000184 30BC 013F move.w [A0], 0x13F
00000188 6048 bra +0x4A /* 000001D2 */
label0000018A:
0000018A 3601 move.w D3, D1
0000018C D644 add.w D3, D4
0000018E 6F22 ble +0x24 /* 000001B2 */
00000190 4A44 tst.w D4
00000192 6C0C bge +0xE /* 000001A0 */
00000194 3003 move.w D0, D3
00000196 61C2 bsr -0x3C /* 0000015A */
00000198 61CE bsr -0x30 /* 00000168 */
0000019A 7000 moveq.l D0, 0x00
0000019C 9044 sub.w D0, D4
0000019E 6020 bra +0x22 /* 000001C0 */
label000001A0:
000001A0 3001 move.w D0, D1
000001A2 61B6 bsr -0x48 /* 0000015A */
000001A4 3004 move.w D0, D4
000001A6 61D2 bsr -0x2C /* 0000017A */
000001A8 3005 move.w D0, D5
000001AA 6F1C ble +0x1E /* 000001C8 */
000001AC 61BA bsr -0x44 /* 00000168 */
000001AE 61CA bsr -0x34 /* 0000017A */
000001B0 6016 bra +0x18 /* 000001C8 */
label000001B2:
000001B2 7001 moveq.l D0, 0x01
000001B4 61C4 bsr -0x3A /* 0000017A */
000001B6 61B0 bsr -0x4E /* 00000168 */
000001B8 7000 moveq.l D0, 0x00
000001BA 9043 sub.w D0, D3
000001BC 61BC bsr -0x42 /* 0000017A */
000001BE 3001 move.w D0, D1
label000001C0:
000001C0 6198 bsr -0x66 /* 0000015A */
000001C2 3004 move.w D0, D4
000001C4 D045 add.w D0, D5
000001C6 61B2 bsr -0x4C /* 0000017A */
label000001C8:
000001C8 206E 0018 movea.l A0, [A6 + 0x18]
000001CC 0642 0050 addi.w D2, 0x50 /* 'P' */
000001D0 1082 move.b [A0], D2
label000001D2:
000001D2 4E5E unlink A6
000001D4 4CDF 013C movem.l D2,D3,D4,D5,A0, [A7]+
000001D8 DEFC 000C add.w A7, 0xC
000001DC 4ED0 jmp [A0]
label000001DE:
000001DE 10FC 0049 move.b [A0]+, 0x49 /* 'I' */
000001E2 10FC 004E move.b [A0]+, 0x4E /* 'N' */
000001E6 10BC 0046 move.b [A0], 0x46 /* 'F' */
000001EA 5642 addq.w D2, 3
000001EC 60DA bra -0x24 /* 000001C8 */
000001EE 000A 0064 ori.b A2, 0x64 /* 'd' */
000001F2 03E8 .incomplete
000001F4 2710 move.l -[A3], [A0]
000001F6 0431 2E32 4100 subi.b [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
label000001FC:
000001FC 0640 F840 addi.w D0, 0xF840
00000200 A9C9 syscall SysError
00000202 204F movea.l A0, A7
00000204 48E7 1800 movem.l -[A7], D3,D4
00000208 260E move.l D3, A6
0000020A 2808 move.l D4, A0
0000020C 6106 bsr +0x8 /* 00000214 */
0000020E 4CDF 0018 movem.l D3,D4, [A7]+
00000212 4E75 rts
fn00000214:
00000214 2F0B move.l -[A7], A3
00000216 242D FFB2 move.l D2, [A5 - 0x4E]
label0000021A:
0000021A 6604 bne +0x6 /* 00000220 */
0000021C 265F movea.l A3, [A7]+
0000021E 4E75 rts
label00000220:
00000220 2642 movea.l A3, D2
00000222 B7C3 cmpa.l A3, D3
00000224 6204 bhi +0x6 /* 0000022A */
00000226 B7C4 cmpa.l A3, D4
00000228 6206 bhi +0x8 /* 00000230 */
label0000022A:
0000022A 242B 0000 move.l D2, [A3 + 0x0]
0000022E 60EA bra -0x14 /* 0000021A */
label00000230:
00000230 4EBA 0148 jsr [PC + 0x148 /* 0000037A */]
00000234 4A2B 0006 tst.b [A3 + 0x6]
00000238 6710 beq +0x12 /* 0000024A */
0000023A 41FA 0170 lea.l A0, [PC + 0x170 /* 000003AC, value 0x431, cstring "" */]
0000023E 30AB 0012 move.w [A0], [A3 + 0x12]
00000242 41FA 0160 lea.l A0, [PC + 0x160 /* 000003A4, value 0x94C5350 '\tLSP', cstring "\ LSPTemp" */]
00000246 4EBA 0104 jsr [PC + 0x104 /* 0000034C */]
label0000024A:
0000024A 242B 0000 move.l D2, [A3 + 0x0]
0000024E 4EBA 001C jsr [PC + 0x1C /* 0000026C */]
00000252 4A82 tst.l D2
00000254 60C4 bra -0x3A /* 0000021A */
fn00000256:
00000256 2F00 move.l -[A7], D0
00000258 200B move.l D0, A3
0000025A C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000025E 276D FFB2 0000 move.l [A3 + 0x0], [A5 - 0x4E]
00000264 2B40 FFB2 move.l [A5 - 0x4E], D0
00000268 201F move.l D0, [A7]+
0000026A 4E75 rts
fn0000026C:
0000026C 2F01 move.l -[A7], D1
0000026E 220B move.l D1, A3
00000270 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00000274 43ED FFB2 lea.l A1, [A5 - 0x4E]
label00000278:
00000278 2011 move.l D0, [A1]
0000027A 6710 beq +0x12 /* 0000028C */
0000027C B081 cmp.l D0, D1
0000027E 6704 beq +0x6 /* 00000284 */
00000280 2240 movea.l A1, D0
00000282 60F4 bra -0xA /* 00000278 */
label00000284:
00000284 2040 movea.l A0, D0
00000286 2290 move.l [A1], [A0]
00000288 221F move.l D1, [A7]+
0000028A 4E75 rts
label0000028C:
0000028C 303C F436 move.w D0, 0xF436
00000290 A9C9 syscall SysError
00000292 610A bsr +0xC /* 0000029E */
00000294 6702 beq +0x4 /* 00000298 */
00000296 4E75 rts
label00000298:
00000298 303C F437 move.w D0, 0xF437
0000029C A9C9 syscall SysError
fn0000029E:
0000029E 48E7 4080 movem.l -[A7], D1,A0
000002A2 202D FFB2 move.l D0, [A5 - 0x4E]
000002A6 6710 beq +0x12 /* 000002B8 */
000002A8 220B move.l D1, A3
000002AA C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
label000002AE:
000002AE B081 cmp.l D0, D1
000002B0 670E beq +0x10 /* 000002C0 */
000002B2 2040 movea.l A0, D0
000002B4 2010 move.l D0, [A0]
000002B6 66F6 bne -0x8 /* 000002AE */
label000002B8:
000002B8 4CDF 0102 movem.l D1,A0, [A7]+
000002BC 7000 moveq.l D0, 0x00
000002BE 4E75 rts
label000002C0:
000002C0 4CDF 0102 movem.l D1,A0, [A7]+
000002C4 7001 moveq.l D0, 0x01
000002C6 4E75 rts
000002C8 2F08 move.l -[A7], A0
000002CA 4FEF FFCE lea.l A7, [A7 - 0x32]
000002CE 42AF 000C clr.l [A7 + 0xC]
000002D2 2F48 0012 move.l [A7 + 0x12], A0
000002D6 426F 0016 clr.w [A7 + 0x16]
000002DA 426F 001A clr.w [A7 + 0x1A]
000002DE 41EB 0016 lea.l A0, [A3 + 0x16]
000002E2 2F48 001C move.l [A7 + 0x1C], A0
000002E6 204F movea.l A0, A7
000002E8 A000 syscall Open/PBHOpen/HOpen
000002EA 376F 0018 0004 move.w [A3 + 0x4], [A7 + 0x18]
000002F0 4FEF 0032 lea.l A7, [A7 + 0x32]
000002F4 205F movea.l A0, [A7]+
000002F6 4A40 tst.w D0
000002F8 671A beq +0x1C /* 00000314 */
000002FA 0C40 FFD5 cmpi.w D0, 0xFFD5
000002FE 6604 bne +0x6 /* 00000304 */
00000300 7001 moveq.l D0, 0x01
00000302 4E75 rts
label00000304:
00000304 0C40 FFE9 cmpi.w D0, 0xFFE9
00000308 6600 FEF2 bne -0x10C /* 000001FC */
0000030C 4A2B 0011 tst.b [A3 + 0x11]
00000310 6700 FEEA beq -0x114 /* 000001FC */
label00000314:
00000314 7000 moveq.l D0, 0x00
00000316 4E75 rts
00000318 2F08 move.l -[A7], A0
0000031A 4FEF FFCE lea.l A7, [A7 - 0x32]
0000031E 42AF 000C clr.l [A7 + 0xC]
00000322 2F48 0012 move.l [A7 + 0x12], A0
00000326 426F 0016 clr.w [A7 + 0x16]
0000032A 426F 001A clr.w [A7 + 0x1A]
0000032E 204F movea.l A0, A7
00000330 A008 syscall Create/PBHCreate/HCreate
00000332 4FEF 0032 lea.l A7, [A7 + 0x32]
00000336 205F movea.l A0, [A7]+
00000338 4A40 tst.w D0
0000033A 670C beq +0xE /* 00000348 */
0000033C 0C40 FFD0 cmpi.w D0, 0xFFD0
00000340 6600 FEBA bne -0x144 /* 000001FC */
00000344 7001 moveq.l D0, 0x01
00000346 4E75 rts
label00000348:
00000348 7000 moveq.l D0, 0x00
0000034A 4E75 rts
fn0000034C:
0000034C 2F08 move.l -[A7], A0
0000034E 4FEF FFCE lea.l A7, [A7 - 0x32]
00000352 42AF 000C clr.l [A7 + 0xC]
00000356 2F48 0012 move.l [A7 + 0x12], A0
0000035A 426F 0016 clr.w [A7 + 0x16]
0000035E 426F 001A clr.w [A7 + 0x1A]
00000362 204F movea.l A0, A7
00000364 A009 syscall Delete/PBHDelete/HDelete
00000366 4FEF 0032 lea.l A7, [A7 + 0x32]
0000036A 205F movea.l A0, [A7]+
0000036C 4A40 tst.w D0
0000036E 6708 beq +0xA /* 00000378 */
00000370 4A2D FFAA tst.b [A5 - 0x56]
00000374 6700 FE86 beq -0x178 /* 000001FC */
label00000378:
00000378 4E75 rts
fn0000037A:
0000037A 4A2B 0011 tst.b [A3 + 0x11]
0000037E 6622 bne +0x24 /* 000003A2 */
00000380 4FEF FFCE lea.l A7, [A7 - 0x32]
00000384 42AF 000C clr.l [A7 + 0xC]
00000388 3F6B 0004 0018 move.w [A7 + 0x18], [A3 + 0x4]
0000038E 204F movea.l A0, A7
00000390 A001 syscall Close
00000392 4FEF 0032 lea.l A7, [A7 + 0x32]
00000396 4A40 tst.w D0
00000398 6708 beq +0xA /* 000003A2 */
0000039A 4A2D FFAA tst.b [A5 - 0x56]
0000039E 6700 FE5C beq -0x1A2 /* 000001FC */
label000003A2:
000003A2 4E75 rts
000003A4 094C bchg A4, D4
000003A6 5350 subq.w [A0], 1
000003A8 5465 addq.w -[A5], 2
000003AA 6D70 blt +0x72 /* 0000041C */
000003AC 0000 0431 ori.b D0, 0x31 /* '1' */
000003B0 2E32 4100 move.l D7, [A2 + <<invalid base displacement size>> + D4]
000003B4 6150 bsr +0x52 /* 00000406 */
000003B6 3F3C 0012 move.w -[A7], 0x12
000003BA A9EB syscall Pack4/FP68K
000003BC 4E75 rts
export_2:
000003BE 6146 bsr +0x48 /* 00000406 */
000003C0 3F3C 0018 move.w -[A7], 0x18
000003C4 A9EC syscall Pack5/Elems68K
000003C6 4E75 rts
export_1:
000003C8 613C bsr +0x3E /* 00000406 */
000003CA 3F3C 001A move.w -[A7], 0x1A
000003CE A9EC syscall Pack5/Elems68K
000003D0 4E75 rts
000003D2 6132 bsr +0x34 /* 00000406 */
000003D4 3F3C 001E move.w -[A7], 0x1E
000003D8 A9EC syscall Pack5/Elems68K
000003DA 4E75 rts
000003DC 6128 bsr +0x2A /* 00000406 */
000003DE 3F3C 0000 move.w -[A7], 0x0
000003E2 A9EC syscall Pack5/Elems68K
000003E4 4E75 rts
000003E6 611E bsr +0x20 /* 00000406 */
000003E8 3F3C 0008 move.w -[A7], 0x8
000003EC A9EC syscall Pack5/Elems68K
000003EE 4E75 rts
000003F0 6114 bsr +0x16 /* 00000406 */
000003F2 3F3C 000F move.w -[A7], 0xF
000003F6 A9EB syscall Pack4/FP68K
000003F8 4E75 rts
000003FA 610A bsr +0xC /* 00000406 */
000003FC 2F17 move.l -[A7], [A7]
000003FE 3F3C 0004 move.w -[A7], 0x4
00000402 A9EB syscall Pack4/FP68K
00000404 4E75 rts
fn00000406:
00000406 201F move.l D0, [A7]+
00000408 221F move.l D1, [A7]+
0000040A 205F movea.l A0, [A7]+
0000040C 2257 movea.l A1, [A7]
0000040E 2F01 move.l -[A7], D1
00000410 2F09 move.l -[A7], A1
00000412 2F00 move.l -[A7], D0
00000414 22D8 move.l [A1]+, [A0]+
00000416 22D8 move.l [A1]+, [A0]+
00000418 3290 move.w [A1], [A0]
0000041A 4E75 rts
label0000041C:
0000041C 0431 2E32 4100 subi.b [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
export_3:
00000422 536D FFE0 subq.w [A5 - 0x20], 1
00000426 3B7C 0002 FFDE move.w [A5 - 0x22], 0x2
0000042C 426D FFD8 clr.w [A5 - 0x28]
00000430 42AD FFB2 clr.l [A5 - 0x4E]
00000434 426D FFAA clr.w [A5 - 0x56]
00000438 3B7C 3030 FFA8 move.w [A5 - 0x58], 0x3030 /* '00' */
0000043E 4EBA 0040 jsr [PC + 0x40 /* 00000480 */]
00000442 4EBA 0058 jsr [PC + 0x58 /* 0000049C */]
00000446 4EBA 00A0 jsr [PC + 0xA0 /* 000004E8 */]
0000044A 4EBA 010E jsr [PC + 0x10E /* 0000055A */]
0000044E 4EBA 0112 jsr [PC + 0x112 /* 00000562 */]
00000452 2C4D movea.l A6, A5
00000454 265F movea.l A3, [A7]+
00000456 4A1F tst.b [A7]+
00000458 6724 beq +0x26 /* 0000047E */
0000045A 7600 moveq.l D3, 0x00
0000045C 362D 0020 move.w D3, [A5 + 0x20]
00000460 E18B lsl D3, 8
00000462 486D FE22 pea.l [A5 - 0x1DE]
00000466 A86E syscall InitGraf
00000468 A8FE syscall InitFonts
0000046A A912 syscall InitWindows
0000046C A930 syscall InitMenus
0000046E A9CC syscall TEInit
00000470 42A7 clr.l -[A7]
00000472 A97B syscall InitDialogs
00000474 204F movea.l A0, A7
00000476 91C3 sub.l A0, D3
00000478 A02D syscall SetApplLimit
0000047A 4EBA 0122 jsr [PC + 0x122 /* 0000059E */]
label0000047E:
0000047E 4ED3 jmp [A3]
fn00000480:
00000480 6146 bsr +0x48 /* 000004C8 */
00000482 670A beq +0xC /* 0000048E */
00000484 6B10 bmi +0x12 /* 00000496 */
00000486 3B7C FFF9 FFAC move.w [A5 - 0x54], 0xFFF9
0000048C 4E75 rts
label0000048E:
0000048E 3B7C FFF7 FFAC move.w [A5 - 0x54], 0xFFF7
00000494 4E75 rts
label00000496:
00000496 426D FFAC clr.w [A5 - 0x54]
0000049A 4E75 rts
fn0000049C:
0000049C 612A bsr +0x2C /* 000004C8 */
0000049E 6710 beq +0x12 /* 000004B0 */
000004A0 6B1C bmi +0x1E /* 000004BE */
000004A2 3B7C FFF7 FFAE move.w [A5 - 0x52], 0xFFF7
000004A8 3B7C FFF8 FFB0 move.w [A5 - 0x50], 0xFFF8
000004AE 4E75 rts
label000004B0:
000004B0 3B7C FFF9 FFAE move.w [A5 - 0x52], 0xFFF9
000004B6 3B7C FFFA FFB0 move.w [A5 - 0x50], 0xFFFA
000004BC 4E75 rts
label000004BE:
000004BE 426D FFAE clr.w [A5 - 0x52]
000004C2 426D FFB0 clr.w [A5 - 0x50]
000004C6 4E75 rts
fn000004C8:
000004C8 1038 0207 move.b D0, [0x00000207 /* SPPrint */]
000004CC 6616 bne +0x18 /* 000004E4 */
000004CE 1038 0291 move.b D0, [0x00000291 /* PortBUse */]
000004D2 6A04 bpl +0x6 /* 000004D8 */
label000004D4:
000004D4 7000 moveq.l D0, 0x00
000004D6 4E75 rts
label000004D8:
000004D8 0200 000F andi.b D0, 0xF
000004DC 5300 subq.b D0, 1
000004DE 66F4 bne -0xA /* 000004D4 */
000004E0 70FF moveq.l D0, 0xFFFFFFFF
000004E2 4E75 rts
label000004E4:
000004E4 7001 moveq.l D0, 0x01
000004E6 4E75 rts
fn000004E8:
000004E8 47ED E434 lea.l A3, [A5 - 0x1BCC]
000004EC 422B 0007 clr.b [A3 + 0x7]
000004F0 08EB 0001 0007 bset.b [A3 + 0x7], 0x1
000004F6 177C 0002 0011 move.b [A3 + 0x11], 0x2
000004FC 50EB 000E st [A3 + 0xE]
00000500 51EB 0006 sf [A3 + 0x6]
00000504 50EB 000C st [A3 + 0xC]
00000508 51EB 000D sf [A3 + 0xD]
0000050C 42AB 0008 clr.l [A3 + 0x8]
00000510 377C 0002 0014 move.w [A3 + 0x14], 0x2
00000516 177C 000D 0010 move.b [A3 + 0x10], 0xD /* '\r' */
0000051C 4EBA FD38 jsr [PC - 0x2C8 /* 00000256 */]
00000520 47ED E212 lea.l A3, [A5 - 0x1DEE]
00000524 422B 0007 clr.b [A3 + 0x7]
00000528 08EB 0000 0007 bset.b [A3 + 0x7], 0x0
0000052E 177C 0001 0011 move.b [A3 + 0x11], 0x1
00000534 50EB 000E st [A3 + 0xE]
00000538 51EB 0006 sf [A3 + 0x6]
0000053C 51EB 000C sf [A3 + 0xC]
00000540 51EB 000D sf [A3 + 0xD]
00000544 42AB 0008 clr.l [A3 + 0x8]
00000548 377C 0002 0014 move.w [A3 + 0x14], 0x2
0000054E 177C 000D 0010 move.b [A3 + 0x10], 0xD /* '\r' */
00000554 4EBA FD00 jsr [PC - 0x300 /* 00000256 */]
00000558 4E75 rts
fn0000055A:
0000055A 31FC 000D 0A4A move.w [0x00000A4A /* FPState */], 0xD /* '\r' */
00000560 4E75 rts
fn00000562:
00000562 42AD FFA4 clr.l [A5 - 0x5C]
00000566 4E75 rts
export_4:
00000568 50ED FFAA st [A5 - 0x56]
0000056C 202D FFB2 move.l D0, [A5 - 0x4E]
label00000570:
00000570 660A bne +0xC /* 0000057C */
00000572 42AD FFB2 clr.l [A5 - 0x4E]
00000576 51ED FFAA sf [A5 - 0x56]
0000057A A9F4 syscall ExitToShell
label0000057C:
0000057C 2640 movea.l A3, D0
0000057E 4EBA FDFA jsr [PC - 0x206 /* 0000037A */]
00000582 4A2B 0006 tst.b [A3 + 0x6]
00000586 6710 beq +0x12 /* 00000598 */
00000588 41FA FE22 lea.l A0, [PC - 0x1DE /* 000003AC, value 0x431, cstring "" */]
0000058C 30AB 0012 move.w [A0], [A3 + 0x12]
00000590 41FA FE12 lea.l A0, [PC - 0x1EE /* 000003A4, value 0x94C5350 '\tLSP', cstring "\ LSPTemp" */]
00000594 4EBA FDB6 jsr [PC - 0x24A /* 0000034C */]
label00000598:
00000598 202B 0000 move.l D0, [A3 + 0x0]
0000059C 60D2 bra -0x2C /* 00000570 */
fn0000059E:
0000059E 4A38 028E tst.b [0x0000028E /* ROM85 */]
000005A2 6A2A bpl +0x2C /* 000005CE */
000005A4 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
000005A8 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
000005AC 2008 move.l D0, A0
000005AE 9091 sub.l D0, [A1]
000005B0 740C moveq.l D2, 0x0C
000005B2 B082 cmp.l D0, D2
000005B4 6516 bcs +0x18 /* 000005CC */
000005B6 2251 movea.l A1, [A1]
000005B8 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
000005BC 2280 move.l [A1], D0
000005BE 4211 clr.b [A1]
000005C0 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
000005C4 2288 move.l [A1], A0
000005C6 2082 move.l [A0], D2
000005C8 D1A9 000C add.l [A1 + 0xC], D0
label000005CC:
000005CC 4E75 rts
label000005CE:
000005CE A063 syscall MaxApplZone
000005D0 4E75 rts
000005D2 0431 2E32 4100 subi.b [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
000005D8 4E56 FFEC link A6, -0x0014
000005DC 48E7 F8F8 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3,A4
000005E0 246E 0012 movea.l A2, [A6 + 0x12]
000005E4 2452 movea.l A2, [A2]
000005E6 43EA 0006 lea.l A1, [A2 + 0x6]
000005EA 49EE 0008 lea.l A4, [A6 + 0x8]
000005EE 266E 000E movea.l A3, [A6 + 0xE]
000005F2 3D7C 0003 FFFE move.w [A6 - 0x2], 0x3
000005F8 426E FFEC clr.w [A6 - 0x14]
000005FC 4EBA 02CE jsr [PC + 0x2CE /* 000008CC */]
00000600 206E 0012 movea.l A0, [A6 + 0x12]
00000604 A023 syscall DisposHandle/DisposeHandle
00000606 4A40 tst.w D0
00000608 6616 bne +0x18 /* 00000620 */
0000060A 2D6E 0004 0012 move.l [A6 + 0x12], [A6 + 0x4]
00000610 4CDF 1F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3,A4, [A7]+
00000614 4A6E FFEC tst.w [A6 - 0x14]
00000618 4E5E unlink A6
0000061A 4FEF 000E lea.l A7, [A7 + 0xE]
0000061E 4E75 rts
label00000620:
00000620 303C F41C move.w D0, 0xF41C
00000624 A9C9 syscall SysError
00000626 48E7 F8F0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3
0000062A 7600 moveq.l D3, 0x00
0000062C 362F 0028 move.w D3, [A7 + 0x28]
00000630 2803 move.l D4, D3
00000632 0C44 0001 cmpi.w D4, 0x1
00000636 6602 bne +0x4 /* 0000063A */
00000638 7802 moveq.l D4, 0x02
label0000063A:
0000063A 2004 move.l D0, D4
0000063C 0680 0000 0006 addi.l D0, 0x6
00000642 A122 syscall NewHandle, flags=1
00000644 4A40 tst.w D0
00000646 663C bne +0x3E /* 00000684 */
00000648 226F 002E movea.l A1, [A7 + 0x2E]
0000064C 2F6F 0024 002E move.l [A7 + 0x2E], [A7 + 0x24]
00000652 2F48 0032 move.l [A7 + 0x32], A0
00000656 2050 movea.l A0, [A0]
00000658 30C4 move.w [A0]+, D4
0000065A 30EF 002A move.w [A0]+, [A7 + 0x2A]
0000065E 30EF 002C move.w [A0]+, [A7 + 0x2C]
00000662 0C43 0001 cmpi.w D3, 0x1
00000666 6608 bne +0xA /* 00000670 */
00000668 4250 clr.w [A0]
0000066A 1151 0001 move.b [A0 + 0x1], [A1]
0000066E 600A bra +0xC /* 0000067A */
label00000670:
00000670 E24B lsr D3.w, 1
00000672 5343 subq.w D3, 1
label00000674:
00000674 30D9 move.w [A0]+, [A1]+
00000676 51CB FFFC dbf D3, -0x6 /* 00000674 */
label0000067A:
0000067A 4CDF 0F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3, [A7]+
0000067E 4FEF 000A lea.l A7, [A7 + 0xA]
00000682 4E75 rts
label00000684:
00000684 303C F41E move.w D0, 0xF41E
00000688 A9C9 syscall SysError
0000068A 4E56 FFEC link A6, -0x0014
0000068E 48E7 F8F8 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3,A4
00000692 246E 000E movea.l A2, [A6 + 0xE]
00000696 2452 movea.l A2, [A2]
00000698 43EA 0006 lea.l A1, [A2 + 0x6]
0000069C 286E 000A movea.l A4, [A6 + 0xA]
000006A0 2854 movea.l A4, [A4]
000006A2 47EC 0006 lea.l A3, [A4 + 0x6]
000006A6 302E 0008 move.w D0, [A6 + 0x8]
000006AA 3D40 FFFE move.w [A6 - 0x2], D0
000006AE 0C40 0001 cmpi.w D0, 0x1
000006B2 6E06 bgt +0x8 /* 000006BA */
000006B4 4EBA 01AC jsr [PC + 0x1AC /* 00000862 */]
000006B8 6010 bra +0x12 /* 000006CA */
label000006BA:
000006BA 0C40 0004 cmpi.w D0, 0x4
000006BE 6606 bne +0x8 /* 000006C6 */
000006C0 4EBA 01C6 jsr [PC + 0x1C6 /* 00000888 */]
000006C4 6004 bra +0x6 /* 000006CA */
label000006C6:
000006C6 4EBA 01E2 jsr [PC + 0x1E2 /* 000008AA */]
label000006CA:
000006CA 40E7 move.w -[A7], SR
000006CC 206E 000E movea.l A0, [A6 + 0xE]
000006D0 A023 syscall DisposHandle/DisposeHandle
000006D2 4A40 tst.w D0
000006D4 661E bne +0x20 /* 000006F4 */
000006D6 206E 000A movea.l A0, [A6 + 0xA]
000006DA A023 syscall DisposHandle/DisposeHandle
000006DC 4A40 tst.w D0
000006DE 6614 bne +0x16 /* 000006F4 */
000006E0 2D6E 0004 000E move.l [A6 + 0xE], [A6 + 0x4]
000006E6 44DF move.b [A7]+, CCR
000006E8 4CDF 1F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3,A4, [A7]+
000006EC 4E5E unlink A6
000006EE 4FEF 000A lea.l A7, [A7 + 0xA]
000006F2 4E75 rts
label000006F4:
000006F4 303C F41C move.w D0, 0xF41C
000006F8 A9C9 syscall SysError
export_5:
000006FA 48E7 F8E0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2
000006FE 342F 0028 move.w D2, [A7 + 0x28]
00000702 246F 0024 movea.l A2, [A7 + 0x24]
00000706 2452 movea.l A2, [A2]
00000708 43EA 0006 lea.l A1, [A2 + 0x6]
0000070C 4EBA 020C jsr [PC + 0x20C /* 0000091A */]
00000710 40E7 move.w -[A7], SR
00000712 206F 0026 movea.l A0, [A7 + 0x26]
00000716 A023 syscall DisposHandle/DisposeHandle
00000718 4A40 tst.w D0
0000071A 6610 bne +0x12 /* 0000072C */
0000071C 2F6F 0022 0028 move.l [A7 + 0x28], [A7 + 0x22]
00000722 44DF move.b [A7]+, CCR
00000724 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
00000728 5C4F addq.w A7, 6
0000072A 4E75 rts
label0000072C:
0000072C 303C F41C move.w D0, 0xF41C
00000730 A9C9 syscall SysError
00000732 3F7C 0000 000C move.w [A7 + 0xC], 0x0
00000738 600E bra +0x10 /* 00000748 */
0000073A 3F7C 0001 000C move.w [A7 + 0xC], 0x1
00000740 6006 bra +0x8 /* 00000748 */
00000742 3F7C 0002 000C move.w [A7 + 0xC], 0x2
label00000748:
00000748 4E56 FFEC link A6, -0x0014
0000074C 48E7 F8F8 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3,A4
00000750 246E 000C movea.l A2, [A6 + 0xC]
00000754 2452 movea.l A2, [A2]
00000756 43EA 0006 lea.l A1, [A2 + 0x6]
0000075A 286E 0008 movea.l A4, [A6 + 0x8]
0000075E 2854 movea.l A4, [A4]
00000760 47EC 0006 lea.l A3, [A4 + 0x6]
00000764 3D6E 0010 FFFE move.w [A6 - 0x2], [A6 + 0x10]
0000076A 4EBA 0204 jsr [PC + 0x204 /* 00000970 */]
0000076E 2D48 0010 move.l [A6 + 0x10], A0
00000772 206E 000C movea.l A0, [A6 + 0xC]
00000776 A023 syscall DisposHandle/DisposeHandle
00000778 4A40 tst.w D0
0000077A 661C bne +0x1E /* 00000798 */
0000077C 206E 0008 movea.l A0, [A6 + 0x8]
00000780 A023 syscall DisposHandle/DisposeHandle
00000782 4A40 tst.w D0
00000784 6612 bne +0x14 /* 00000798 */
00000786 2D6E 0004 000C move.l [A6 + 0xC], [A6 + 0x4]
0000078C 4CDF 1F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3,A4, [A7]+
00000790 4E5E unlink A6
00000792 4FEF 0008 lea.l A7, [A7 + 0x8]
00000796 4E75 rts
label00000798:
00000798 303C F41C move.w D0, 0xF41C
0000079C A9C9 syscall SysError
0000079E 48E7 F8F0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3
000007A2 7001 moveq.l D0, 0x01
000007A4 7200 moveq.l D1, 0x00
000007A6 6150 bsr +0x52 /* 000007F8 */
000007A8 2F4A 0028 move.l [A7 + 0x28], A2
000007AC 4CDF 0F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3, [A7]+
000007B0 4E75 rts
export_6:
000007B2 48E7 F8F0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3
000007B6 302F 0028 move.w D0, [A7 + 0x28]
000007BA 3200 move.w D1, D0
000007BC 613A bsr +0x3C /* 000007F8 */
000007BE 2F4A 002A move.l [A7 + 0x2A], A2
000007C2 2F6F 0024 0026 move.l [A7 + 0x26], [A7 + 0x24]
000007C8 4CDF 0F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3, [A7]+
000007CC 544F addq.w A7, 2
000007CE 4E75 rts
000007D0 48E7 F8F0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3
000007D4 302F 002A move.w D0, [A7 + 0x2A]
000007D8 322F 0028 move.w D1, [A7 + 0x28]
000007DC B240 cmp.w D1, D0
000007DE 6C04 bge +0x6 /* 000007E4 */
000007E0 7001 moveq.l D0, 0x01
000007E2 7200 moveq.l D1, 0x00
label000007E4:
000007E4 6112 bsr +0x14 /* 000007F8 */
000007E6 2F4A 002C move.l [A7 + 0x2C], A2
000007EA 2F6F 0024 0028 move.l [A7 + 0x28], [A7 + 0x24]
000007F0 4CDF 0F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3, [A7]+
000007F4 584F addq.w A7, 4
000007F6 4E75 rts
fn000007F8:
000007F8 48E7 C000 movem.l -[A7], D0,D1
000007FC 4EBA 05AE jsr [PC + 0x5AE /* 00000DAC */]
00000800 2003 move.l D0, D3
00000802 0680 0000 0006 addi.l D0, 0x6
00000808 A122 syscall NewHandle, flags=1
0000080A 4A40 tst.w D0
0000080C 6610 bne +0x12 /* 0000081E */
0000080E 4CDF 0003 movem.l D0,D1, [A7]+
00000812 2448 movea.l A2, A0
00000814 2252 movea.l A1, [A2]
00000816 32C3 move.w [A1]+, D3
00000818 32C0 move.w [A1]+, D0
0000081A 32C1 move.w [A1]+, D1
0000081C 6006 bra +0x8 /* 00000824 */
label0000081E:
0000081E 303C F41F move.w D0, 0xF41F
00000822 A9C9 syscall SysError
label00000824:
00000824 7400 moveq.l D2, 0x00
00000826 E24B lsr D3.w, 1
00000828 5343 subq.w D3, 1
0000082A 7800 moveq.l D4, 0x00
0000082C 3801 move.w D4, D1
0000082E 0244 000F andi.w D4, 0xF
00000832 2049 movea.l A0, A1
label00000834:
00000834 30C2 move.w [A0]+, D2
00000836 51CB FFFC dbf D3, -0x6 /* 00000834 */
0000083A 2049 movea.l A0, A1
0000083C B041 cmp.w D0, D1
0000083E 6F02 ble +0x4 /* 00000842 */
00000840 4E75 rts
label00000842:
00000842 09C2 .incomplete
00000844 B041 cmp.w D0, D1
00000846 6716 beq +0x18 /* 0000085E */
00000848 4A44 tst.w D4
0000084A 6706 beq +0x8 /* 00000852 */
0000084C 5344 subq.w D4, 1
0000084E 5341 subq.w D1, 1
00000850 60F0 bra -0xE /* 00000842 */
label00000852:
00000852 30C2 move.w [A0]+, D2
00000854 7400 moveq.l D2, 0x00
00000856 383C 000F move.w D4, 0xF
0000085A 5341 subq.w D1, 1
0000085C 60E4 bra -0x1A /* 00000842 */
label0000085E:
0000085E 3082 move.w [A0], D2
00000860 4E75 rts
fn00000862:
00000862 4EBA 023E jsr [PC + 0x23E /* 00000AA2 */]
00000866 487A 001C pea.l [PC + 0x1C /* 00000884, value 0x70014E75 */]
0000086A 4EBA 030E jsr [PC + 0x30E /* 00000B7A */]
0000086E 4EBA 033E jsr [PC + 0x33E /* 00000BAE */]
00000872 4EBA 036E jsr [PC + 0x36E /* 00000BE2 */]
00000876 4EBA 0436 jsr [PC + 0x436 /* 00000CAE */]
0000087A 4EBA 0468 jsr [PC + 0x468 /* 00000CE4 */]
0000087E 584F addq.w A7, 4
00000880 7000 moveq.l D0, 0x00
00000882 4E75 rts
00000884 7001 moveq.l D0, 0x01
00000886 4E75 rts
fn00000888:
00000888 4EBA 0218 jsr [PC + 0x218 /* 00000AA2 */]
0000088C 487A 0016 pea.l [PC + 0x16 /* 000008A4, value 0x44FC0000 */]
00000890 4EBA 031C jsr [PC + 0x31C /* 00000BAE */]
00000894 4EBA 034C jsr [PC + 0x34C /* 00000BE2 */]
00000898 4EBA 0414 jsr [PC + 0x414 /* 00000CAE */]
0000089C 584F addq.w A7, 4
0000089E 44FC 0005 4E75 move.b 0x54E75, CCR
000008A4 44FC 0000 4E75 move.b 0x4E75 /* 'Nu' */, CCR
fn000008AA:
000008AA 4EBA 01F6 jsr [PC + 0x1F6 /* 00000AA2 */]
000008AE 487A 0016 pea.l [PC + 0x16 /* 000008C6, value 0x44FC0001 */]
000008B2 4EBA 02C6 jsr [PC + 0x2C6 /* 00000B7A */]
000008B6 4EBA 032A jsr [PC + 0x32A /* 00000BE2 */]
000008BA 4EBA 0428 jsr [PC + 0x428 /* 00000CE4 */]
000008BE 584F addq.w A7, 4
000008C0 44FC 0000 4E75 move.b 0x4E75 /* 'Nu' */, CCR
000008C6 44FC 0001 4E75 move.b 0x14E75, CCR
fn000008CC:
000008CC 302C 0000 move.w D0, [A4 + 0x0]
000008D0 0C40 0001 cmpi.w D0, 0x1
000008D4 6612 bne +0x14 /* 000008E8 */
000008D6 2F0B move.l -[A7], A3
000008D8 554F subq.w A7, 2
000008DA 264F movea.l A3, A7
000008DC 7002 moveq.l D0, 0x02
000008DE 6108 bsr +0xA /* 000008E8 */
000008E0 301F move.w D0, [A7]+
000008E2 265F movea.l A3, [A7]+
000008E4 1680 move.b [A3], D0
000008E6 4E75 rts
fn000008E8:
000008E8 204B movea.l A0, A3
000008EA E248 lsr D0.w, 1
000008EC 5340 subq.w D0, 1
000008EE 7200 moveq.l D1, 0x00
label000008F0:
000008F0 30C1 move.w [A0]+, D1
000008F2 51C8 FFFC dbf D0, -0x6 /* 000008F0 */
000008F6 4EBA 01AA jsr [PC + 0x1AA /* 00000AA2 */]
000008FA 487A 0016 pea.l [PC + 0x16 /* 00000912, value 0x3D7C0001, cstring "=|" */]
000008FE 4EBA 027A jsr [PC + 0x27A /* 00000B7A */]
00000902 4EBA 02DE jsr [PC + 0x2DE /* 00000BE2 */]
00000906 4EBA 03DC jsr [PC + 0x3DC /* 00000CE4 */]
0000090A 584F addq.w A7, 4
0000090C 4EBA 01D6 jsr [PC + 0x1D6 /* 00000AE4 */]
00000910 4E75 rts
00000912 3D7C 0001 FFEC move.w [A6 - 0x14], 0x1
00000918 4E75 rts
fn0000091A:
0000091A 48C2 ext.l D2
0000091C 0C82 0000 7FFF cmpi.l D2, 0x7FFF
00000922 6E46 bgt +0x48 /* 0000096A */
00000924 0C82 FFFF 8001 cmpi.l D2, 0xFFFF8001
0000092A 6D3E blt +0x40 /* 0000096A */
0000092C 302A 0002 move.w D0, [A2 + 0x2]
00000930 322A 0004 move.w D1, [A2 + 0x4]
00000934 B042 cmp.w D0, D2
00000936 6E32 bgt +0x34 /* 0000096A */
00000938 B242 cmp.w D1, D2
0000093A 6D2E blt +0x30 /* 0000096A */
0000093C 4A40 tst.w D0
0000093E 6B02 bmi +0x4 /* 00000942 */
00000940 7000 moveq.l D0, 0x00
label00000942:
00000942 3F02 move.w -[A7], D2
00000944 4EBA 03D4 jsr [PC + 0x3D4 /* 00000D1A */]
00000948 5344 subq.w D4, 1
0000094A 2604 move.l D3, D4
0000094C 321F move.w D1, [A7]+
0000094E 4EBA 0418 jsr [PC + 0x418 /* 00000D68 */]
00000952 D040 add.w D0, D0
00000954 3031 0000 move.w D0, [A1 + D0.w]
00000958 7600 moveq.l D3, 0x00
0000095A 3601 move.w D3, D1
0000095C 0243 000F andi.w D3, 0xF
00000960 0700 btst D0, D3
00000962 6706 beq +0x8 /* 0000096A */
00000964 44FC 0001 4E75 move.b 0x14E75, CCR
label0000096A:
0000096A 44FC 0000 4E75 move.b 0x4E75 /* 'Nu' */, CCR
fn00000970:
00000970 4EBA 0130 jsr [PC + 0x130 /* 00000AA2 */]
00000974 342E FFFC move.w D2, [A6 - 0x4]
00000978 B440 cmp.w D2, D0
0000097A 6F02 ble +0x4 /* 0000097E */
0000097C 3400 move.w D2, D0
label0000097E:
0000097E 4A42 tst.w D2
00000980 6B02 bmi +0x4 /* 00000984 */
00000982 7400 moveq.l D2, 0x00
label00000984:
00000984 7600 moveq.l D3, 0x00
00000986 362E FFFA move.w D3, [A6 - 0x6]
0000098A B641 cmp.w D3, D1
0000098C 6C02 bge +0x4 /* 00000990 */
0000098E 3601 move.w D3, D1
label00000990:
00000990 48E7 3000 movem.l -[A7], D2,D3
00000994 2002 move.l D0, D2
00000996 2203 move.l D1, D3
00000998 4EBA 0380 jsr [PC + 0x380 /* 00000D1A */]
0000099C D844 add.w D4, D4
0000099E 4CDF 000C movem.l D2,D3, [A7]+
000009A2 2004 move.l D0, D4
000009A4 0680 0000 0006 addi.l D0, 0x6
000009AA A122 syscall NewHandle, flags=1
000009AC 4A40 tst.w D0
000009AE 6648 bne +0x4A /* 000009F8 */
000009B0 2F08 move.l -[A7], A0
000009B2 246E 000C movea.l A2, [A6 + 0xC]
000009B6 2452 movea.l A2, [A2]
000009B8 43EA 0006 lea.l A1, [A2 + 0x6]
000009BC 286E 0008 movea.l A4, [A6 + 0x8]
000009C0 2854 movea.l A4, [A4]
000009C2 47EC 0006 lea.l A3, [A4 + 0x6]
000009C6 48E7 0060 movem.l -[A7], A1,A2
000009CA 244C movea.l A2, A4
000009CC 224B movea.l A1, A3
000009CE 2050 movea.l A0, [A0]
000009D0 2848 movea.l A4, A0
000009D2 47EC 0006 lea.l A3, [A4 + 0x6]
000009D6 30C4 move.w [A0]+, D4
000009D8 30C2 move.w [A0]+, D2
000009DA 30C3 move.w [A0]+, D3
000009DC 3F2E FFFE move.w -[A7], [A6 - 0x2]
000009E0 3D7C 0003 FFFE move.w [A6 - 0x2], 0x3
000009E6 6100 FEE4 bsr -0x11A /* 000008CC */
000009EA 3D5F FFFE move.w [A6 - 0x2], [A7]+
000009EE 4CDF 0600 movem.l A1,A2, [A7]+
000009F2 610A bsr +0xC /* 000009FE */
000009F4 205F movea.l A0, [A7]+
000009F6 4E75 rts
label000009F8:
000009F8 303C F41E move.w D0, 0xF41E
000009FC A9C9 syscall SysError
fn000009FE:
000009FE 4EBA 00A2 jsr [PC + 0xA2 /* 00000AA2 */]
00000A02 322E FFF2 move.w D1, [A6 - 0xE]
00000A06 342E FFF8 move.w D2, [A6 - 0x8]
00000A0A 362E FFF4 move.w D3, [A6 - 0xC]
00000A0E 5343 subq.w D3, 1
00000A10 4EBA 0356 jsr [PC + 0x356 /* 00000D68 */]
00000A14 322E FFEE move.w D1, [A6 - 0x12]
00000A18 5341 subq.w D1, 1
00000A1A D241 add.w D1, D1
00000A1C D040 add.w D0, D0
00000A1E 7400 moveq.l D2, 0x00
label00000A20:
00000A20 3431 1000 move.w D2, [A1 + D1.w]
00000A24 0C6E 0000 FFFE cmpi.w [A6 - 0x2], 0x0
00000A2A 6606 bne +0x8 /* 00000A32 */
00000A2C 8573 0000 or.w [A3 + D0.w], D2
00000A30 6014 bra +0x16 /* 00000A46 */
label00000A32:
00000A32 0C6E 0002 FFFE cmpi.w [A6 - 0x2], 0x2
00000A38 6608 bne +0xA /* 00000A42 */
00000A3A 4642 not.w D2
00000A3C C573 0000 and.w [A3 + D0.w], D2
00000A40 6004 bra +0x6 /* 00000A46 */
label00000A42:
00000A42 C573 0000 and.w [A3 + D0.w], D2
label00000A46:
00000A46 4A41 tst.w D1
00000A48 6706 beq +0x8 /* 00000A50 */
00000A4A 5540 subq.w D0, 2
00000A4C 5541 subq.w D1, 2
00000A4E 60D0 bra -0x2E /* 00000A20 */
label00000A50:
00000A50 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
00000A56 6648 bne +0x4A /* 00000AA0 */
00000A58 322E FFF2 move.w D1, [A6 - 0xE]
00000A5C 342E FFF8 move.w D2, [A6 - 0x8]
00000A60 362E FFF4 move.w D3, [A6 - 0xC]
00000A64 5343 subq.w D3, 1
00000A66 4EBA 0300 jsr [PC + 0x300 /* 00000D68 */]
00000A6A 5240 addq.w D0, 1
00000A6C B043 cmp.w D0, D3
00000A6E 6E10 bgt +0x12 /* 00000A80 */
00000A70 D643 add.w D3, D3
00000A72 D040 add.w D0, D0
label00000A74:
00000A74 4273 3000 clr.w [A3 + D3.w]
00000A78 B043 cmp.w D0, D3
00000A7A 6704 beq +0x6 /* 00000A80 */
00000A7C 5543 subq.w D3, 2
00000A7E 60F4 bra -0xA /* 00000A74 */
label00000A80:
00000A80 322E FFF0 move.w D1, [A6 - 0x10]
00000A84 362E FFF4 move.w D3, [A6 - 0xC]
00000A88 5343 subq.w D3, 1
00000A8A 4EBA 02DC jsr [PC + 0x2DC /* 00000D68 */]
00000A8E 5340 subq.w D0, 1
00000A90 6B0E bmi +0x10 /* 00000AA0 */
00000A92 D040 add.w D0, D0
label00000A94:
00000A94 4273 0000 clr.w [A3 + D0.w]
00000A98 4A40 tst.w D0
00000A9A 6704 beq +0x6 /* 00000AA0 */
00000A9C 5540 subq.w D0, 2
00000A9E 60F4 bra -0xA /* 00000A94 */
label00000AA0:
00000AA0 4E75 rts
fn00000AA2:
00000AA2 322C 0004 move.w D1, [A4 + 0x4]
00000AA6 302C 0002 move.w D0, [A4 + 0x2]
00000AAA 3D40 FFFC move.w [A6 - 0x4], D0
00000AAE 3D41 FFFA move.w [A6 - 0x6], D1
00000AB2 4EBA 0266 jsr [PC + 0x266 /* 00000D1A */]
00000AB6 4EBA 029A jsr [PC + 0x29A /* 00000D52 */]
00000ABA 3D42 FFF8 move.w [A6 - 0x8], D2
00000ABE 3D43 FFF6 move.w [A6 - 0xA], D3
00000AC2 3D44 FFF4 move.w [A6 - 0xC], D4
00000AC6 322A 0004 move.w D1, [A2 + 0x4]
00000ACA 302A 0002 move.w D0, [A2 + 0x2]
00000ACE 4EBA 024A jsr [PC + 0x24A /* 00000D1A */]
00000AD2 4EBA 027E jsr [PC + 0x27E /* 00000D52 */]
00000AD6 3D42 FFF2 move.w [A6 - 0xE], D2
00000ADA 3D43 FFF0 move.w [A6 - 0x10], D3
00000ADE 3D44 FFEE move.w [A6 - 0x12], D4
00000AE2 4E75 rts
fn00000AE4:
00000AE4 322E FFFC move.w D1, [A6 - 0x4]
00000AE8 342E FFF8 move.w D2, [A6 - 0x8]
00000AEC 362E FFF4 move.w D3, [A6 - 0xC]
00000AF0 5343 subq.w D3, 1
00000AF2 4EBA 0274 jsr [PC + 0x274 /* 00000D68 */]
00000AF6 3800 move.w D4, D0
00000AF8 5240 addq.w D0, 1
00000AFA D040 add.w D0, D0
00000AFC D643 add.w D3, D3
00000AFE B640 cmp.w D3, D0
00000B00 6D10 blt +0x12 /* 00000B12 */
label00000B02:
00000B02 4A73 3000 tst.w [A3 + D3.w]
00000B06 6600 006A bne +0x6C /* 00000B72 */
00000B0A B640 cmp.w D3, D0
00000B0C 6704 beq +0x6 /* 00000B12 */
00000B0E 5543 subq.w D3, 2
00000B10 60F0 bra -0xE /* 00000B02 */
label00000B12:
00000B12 3004 move.w D0, D4
00000B14 D040 add.w D0, D0
00000B16 3233 0000 move.w D1, [A3 + D0.w]
00000B1A 6718 beq +0x1A /* 00000B34 */
00000B1C 7400 moveq.l D2, 0x00
00000B1E 7000 moveq.l D0, 0x00
00000B20 302E FFFC move.w D0, [A6 - 0x4]
00000B24 0240 000F andi.w D0, 0xF
label00000B28:
00000B28 670A beq +0xC /* 00000B34 */
00000B2A 0501 btst D1, D2
00000B2C 6644 bne +0x46 /* 00000B72 */
00000B2E 5242 addq.w D2, 1
00000B30 5340 subq.w D0, 1
00000B32 60F4 bra -0xA /* 00000B28 */
label00000B34:
00000B34 7200 moveq.l D1, 0x00
00000B36 322E FFFA move.w D1, [A6 - 0x6]
00000B3A 342E FFF8 move.w D2, [A6 - 0x8]
00000B3E 362E FFF4 move.w D3, [A6 - 0xC]
00000B42 5343 subq.w D3, 1
00000B44 4EBA 0222 jsr [PC + 0x222 /* 00000D68 */]
00000B48 D040 add.w D0, D0
00000B4A 3633 0000 move.w D3, [A3 + D0.w]
00000B4E 6720 beq +0x22 /* 00000B70 */
00000B50 5241 addq.w D1, 1
00000B52 0241 000F andi.w D1, 0xF
00000B56 7000 moveq.l D0, 0x00
00000B58 303C 000F move.w D0, 0xF
00000B5C 906E FFFA sub.w D0, [A6 - 0x6]
00000B60 0240 000F andi.w D0, 0xF
label00000B64:
00000B64 670A beq +0xC /* 00000B70 */
00000B66 0303 btst D3, D1
00000B68 6608 bne +0xA /* 00000B72 */
00000B6A 5241 addq.w D1, 1
00000B6C 5340 subq.w D0, 1
00000B6E 60F4 bra -0xA /* 00000B64 */
label00000B70:
00000B70 4E75 rts
label00000B72:
00000B72 3D7C 0001 FFEC move.w [A6 - 0x14], 0x1
00000B78 4E75 rts
fn00000B7A:
00000B7A 322E FFF8 move.w D1, [A6 - 0x8]
00000B7E 342E FFF2 move.w D2, [A6 - 0xE]
00000B82 B242 cmp.w D1, D2
00000B84 6F26 ble +0x28 /* 00000BAC */
00000B86 362E FFEE move.w D3, [A6 - 0x12]
00000B8A 5343 subq.w D3, 1
00000B8C 4EBA 01DA jsr [PC + 0x1DA /* 00000D68 */]
00000B90 5240 addq.w D0, 1
00000B92 6A02 bpl +0x4 /* 00000B96 */
00000B94 7000 moveq.l D0, 0x00
label00000B96:
00000B96 D040 add.w D0, D0
00000B98 D643 add.w D3, D3
label00000B9A:
00000B9A 4A71 3000 tst.w [A1 + D3.w]
00000B9E 6704 beq +0x6 /* 00000BA4 */
00000BA0 584F addq.w A7, 4
00000BA2 4E75 rts
label00000BA4:
00000BA4 B043 cmp.w D0, D3
00000BA6 6704 beq +0x6 /* 00000BAC */
00000BA8 5543 subq.w D3, 2
00000BAA 60EE bra -0x10 /* 00000B9A */
label00000BAC:
00000BAC 4E75 rts
fn00000BAE:
00000BAE 322E FFF2 move.w D1, [A6 - 0xE]
00000BB2 342E FFF8 move.w D2, [A6 - 0x8]
00000BB6 B242 cmp.w D1, D2
00000BB8 6F26 ble +0x28 /* 00000BE0 */
00000BBA 362E FFF4 move.w D3, [A6 - 0xC]
00000BBE 5343 subq.w D3, 1
00000BC0 4EBA 01A6 jsr [PC + 0x1A6 /* 00000D68 */]
00000BC4 5240 addq.w D0, 1
00000BC6 6A02 bpl +0x4 /* 00000BCA */
00000BC8 7000 moveq.l D0, 0x00
label00000BCA:
00000BCA D643 add.w D3, D3
00000BCC D040 add.w D0, D0
label00000BCE:
00000BCE 4A73 3000 tst.w [A3 + D3.w]
00000BD2 6704 beq +0x6 /* 00000BD8 */
00000BD4 584F addq.w A7, 4
00000BD6 4E75 rts
label00000BD8:
00000BD8 B043 cmp.w D0, D3
00000BDA 6704 beq +0x6 /* 00000BE0 */
00000BDC 5543 subq.w D3, 2
00000BDE 60EE bra -0x10 /* 00000BCE */
label00000BE0:
00000BE0 4E75 rts
fn00000BE2:
00000BE2 322E FFF2 move.w D1, [A6 - 0xE]
00000BE6 342E FFF8 move.w D2, [A6 - 0x8]
00000BEA 362E FFF4 move.w D3, [A6 - 0xC]
00000BEE 5343 subq.w D3, 1
00000BF0 4EBA 0176 jsr [PC + 0x176 /* 00000D68 */]
00000BF4 B043 cmp.w D0, D3
00000BF6 6F02 ble +0x4 /* 00000BFA */
00000BF8 3003 move.w D0, D3
label00000BFA:
00000BFA 3F00 move.w -[A7], D0
00000BFC 322E FFF0 move.w D1, [A6 - 0x10]
00000C00 342E FFF8 move.w D2, [A6 - 0x8]
00000C04 362E FFF4 move.w D3, [A6 - 0xC]
00000C08 5343 subq.w D3, 1
00000C0A 4EBA 015C jsr [PC + 0x15C /* 00000D68 */]
00000C0E 4A40 tst.w D0
00000C10 6A02 bpl +0x4 /* 00000C14 */
00000C12 7000 moveq.l D0, 0x00
label00000C14:
00000C14 3F00 move.w -[A7], D0
00000C16 322E FFF8 move.w D1, [A6 - 0x8]
00000C1A 342E FFF2 move.w D2, [A6 - 0xE]
00000C1E 362E FFEE move.w D3, [A6 - 0x12]
00000C22 5343 subq.w D3, 1
00000C24 4EBA 0142 jsr [PC + 0x142 /* 00000D68 */]
00000C28 3400 move.w D2, D0
00000C2A B642 cmp.w D3, D2
00000C2C 6E02 bgt +0x4 /* 00000C30 */
00000C2E 3403 move.w D2, D3
label00000C30:
00000C30 301F move.w D0, [A7]+
00000C32 321F move.w D1, [A7]+
00000C34 B041 cmp.w D0, D1
00000C36 6F02 ble +0x4 /* 00000C3A */
00000C38 4E75 rts
label00000C3A:
00000C3A D442 add.w D2, D2
00000C3C D040 add.w D0, D0
00000C3E D241 add.w D1, D1
00000C40 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
00000C46 6F1C ble +0x1E /* 00000C64 */
00000C48 0C6E 0003 FFFE cmpi.w [A6 - 0x2], 0x3
00000C4E 6702 beq +0x4 /* 00000C52 */
00000C50 602C bra +0x2E /* 00000C7E */
label00000C52:
00000C52 37B1 2000 1000 move.w [A3 + D1.w], [A1 + D2.w]
00000C58 B240 cmp.w D1, D0
00000C5A 6706 beq +0x8 /* 00000C62 */
00000C5C 5542 subq.w D2, 2
00000C5E 5541 subq.w D1, 2
00000C60 60F0 bra -0xE /* 00000C52 */
label00000C62:
00000C62 4E75 rts
label00000C64:
00000C64 3631 2000 move.w D3, [A1 + D2.w]
00000C68 B673 1000 cmp.w D3, [A3 + D1.w]
00000C6C 6704 beq +0x6 /* 00000C72 */
00000C6E 584F addq.w A7, 4
00000C70 4E75 rts
label00000C72:
00000C72 B240 cmp.w D1, D0
00000C74 6706 beq +0x8 /* 00000C7C */
00000C76 5542 subq.w D2, 2
00000C78 5541 subq.w D1, 2
00000C7A 60E8 bra -0x16 /* 00000C64 */
label00000C7C:
00000C7C 4E75 rts
label00000C7E:
00000C7E 0C6E 0004 FFFE cmpi.w [A6 - 0x2], 0x4
00000C84 670C beq +0xE /* 00000C92 */
00000C86 3633 1000 move.w D3, [A3 + D1.w]
00000C8A 4643 not.w D3
00000C8C C671 2000 and.w D3, [A1 + D2.w]
00000C90 600A bra +0xC /* 00000C9C */
label00000C92:
00000C92 3631 2000 move.w D3, [A1 + D2.w]
00000C96 4643 not.w D3
00000C98 C673 1000 and.w D3, [A3 + D1.w]
label00000C9C:
00000C9C 6704 beq +0x6 /* 00000CA2 */
00000C9E 584F addq.w A7, 4
00000CA0 4E75 rts
label00000CA2:
00000CA2 B240 cmp.w D1, D0
00000CA4 6706 beq +0x8 /* 00000CAC */
00000CA6 5542 subq.w D2, 2
00000CA8 5541 subq.w D1, 2
00000CAA 60D2 bra -0x2C /* 00000C7E */
label00000CAC:
00000CAC 4E75 rts
fn00000CAE:
00000CAE 322E FFF0 move.w D1, [A6 - 0x10]
00000CB2 B26E FFF6 cmp.w D1, [A6 - 0xA]
00000CB6 6C2A bge +0x2C /* 00000CE2 */
00000CB8 342E FFF8 move.w D2, [A6 - 0x8]
00000CBC 362E FFF4 move.w D3, [A6 - 0xC]
00000CC0 5343 subq.w D3, 1
00000CC2 4EBA 00A4 jsr [PC + 0xA4 /* 00000D68 */]
00000CC6 5340 subq.w D0, 1
00000CC8 B640 cmp.w D3, D0
00000CCA 6F02 ble +0x4 /* 00000CCE */
00000CCC 3600 move.w D3, D0
label00000CCE:
00000CCE D643 add.w D3, D3
label00000CD0:
00000CD0 4A73 3000 tst.w [A3 + D3.w]
00000CD4 6704 beq +0x6 /* 00000CDA */
00000CD6 584F addq.w A7, 4
00000CD8 4E75 rts
label00000CDA:
00000CDA 4A43 tst.w D3
00000CDC 6704 beq +0x6 /* 00000CE2 */
00000CDE 5543 subq.w D3, 2
00000CE0 60EE bra -0x10 /* 00000CD0 */
label00000CE2:
00000CE2 4E75 rts
fn00000CE4:
00000CE4 322E FFF6 move.w D1, [A6 - 0xA]
00000CE8 B26E FFF0 cmp.w D1, [A6 - 0x10]
00000CEC 6C2A bge +0x2C /* 00000D18 */
00000CEE 342E FFF2 move.w D2, [A6 - 0xE]
00000CF2 362E FFEE move.w D3, [A6 - 0x12]
00000CF6 5343 subq.w D3, 1
00000CF8 4EBA 006E jsr [PC + 0x6E /* 00000D68 */]
00000CFC 5340 subq.w D0, 1
00000CFE B640 cmp.w D3, D0
00000D00 6F02 ble +0x4 /* 00000D04 */
00000D02 3600 move.w D3, D0
label00000D04:
00000D04 D643 add.w D3, D3
label00000D06:
00000D06 4A71 3000 tst.w [A1 + D3.w]
00000D0A 6704 beq +0x6 /* 00000D10 */
00000D0C 584F addq.w A7, 4
00000D0E 4E75 rts
label00000D10:
00000D10 4A43 tst.w D3
00000D12 6704 beq +0x6 /* 00000D18 */
00000D14 5543 subq.w D3, 2
00000D16 60EE bra -0x10 /* 00000D06 */
label00000D18:
00000D18 4E75 rts
fn00000D1A:
00000D1A 3400 move.w D2, D0
00000D1C 48C2 ext.l D2
00000D1E 0482 0000 000F subi.l D2, 0xF
00000D24 6A0A bpl +0xC /* 00000D30 */
00000D26 4482 neg.l D2
00000D28 0282 FFFF FFF0 andi.l D2, 0xFFFFFFF0
00000D2E 4482 neg.l D2
label00000D30:
00000D30 0282 FFFF FFF0 andi.l D2, 0xFFFFFFF0
00000D36 3601 move.w D3, D1
00000D38 48C3 ext.l D3
00000D3A 9682 sub.l D3, D2
00000D3C 5283 addq.l D3, 1
00000D3E 2803 move.l D4, D3
00000D40 0684 0000 000F addi.l D4, 0xF
00000D46 2F04 move.l -[A7], D4
00000D48 3F3C 0004 move.w -[A7], 0x4
00000D4C 6132 bsr +0x34 /* 00000D80 */
00000D4E 281F move.l D4, [A7]+
00000D50 4E75 rts
fn00000D52:
00000D52 3604 move.w D3, D4
00000D54 48C3 ext.l D3
00000D56 6A08 bpl +0xA /* 00000D60 */
00000D58 4483 neg.l D3
00000D5A E98B lsl D3, 4
00000D5C 4483 neg.l D3
00000D5E 6002 bra +0x4 /* 00000D62 */
label00000D60:
00000D60 E98B lsl D3, 4
label00000D62:
00000D62 D682 add.l D3, D2
00000D64 5383 subq.l D3, 1
00000D66 4E75 rts
fn00000D68:
00000D68 2001 move.l D0, D1
00000D6A 48C0 ext.l D0
00000D6C 48C2 ext.l D2
00000D6E 9082 sub.l D0, D2
00000D70 2F00 move.l -[A7], D0
00000D72 3F3C 0004 move.w -[A7], 0x4
00000D76 6108 bsr +0xA /* 00000D80 */
00000D78 201F move.l D0, [A7]+
00000D7A 4480 neg.l D0
00000D7C D083 add.l D0, D3
00000D7E 4E75 rts
fn00000D80:
00000D80 48E7 C000 movem.l -[A7], D0,D1
00000D84 7200 moveq.l D1, 0x00
00000D86 322F 000C move.w D1, [A7 + 0xC]
00000D8A 202F 000E move.l D0, [A7 + 0xE]
00000D8E 6A08 bpl +0xA /* 00000D98 */
00000D90 4480 neg.l D0
00000D92 E2A8 lsr D0, D1
00000D94 4480 neg.l D0
00000D96 6002 bra +0x4 /* 00000D9A */
label00000D98:
00000D98 E2A8 lsr D0, D1
label00000D9A:
00000D9A 2F40 000E move.l [A7 + 0xE], D0
00000D9E 2F6F 0008 000A move.l [A7 + 0xA], [A7 + 0x8]
00000DA4 4CDF 0003 movem.l D0,D1, [A7]+
00000DA8 544F addq.w A7, 2
00000DAA 4E75 rts
fn00000DAC:
00000DAC 2F00 move.l -[A7], D0
00000DAE 4A40 tst.w D0
00000DB0 6B02 bmi +0x4 /* 00000DB4 */
00000DB2 7000 moveq.l D0, 0x00
label00000DB4:
00000DB4 6100 FF64 bsr -0x9A /* 00000D1A */
00000DB8 2604 move.l D3, D4
00000DBA D683 add.l D3, D3
00000DBC 201F move.l D0, [A7]+
00000DBE 4E75 rts
00000DC0 0431 2E32 4100 subi.b [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
00000DC6 4E56 0000 link A6, 0
00000DCA 3F2E 000E move.w -[A7], [A6 + 0xE]
00000DCE 3F2E 000C move.w -[A7], [A6 + 0xC]
00000DD2 A893 syscall MoveTo
00000DD4 3F2E 000A move.w -[A7], [A6 + 0xA]
00000DD8 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000DDC A891 syscall LineTo
00000DDE 4E5E unlink A6
00000DE0 205F movea.l A0, [A7]+
00000DE2 504F addq.w A7, 8
00000DE4 4ED0 jmp [A0]
00000DE6 4E56 FFF8 link A6, -0x0008
00000DEA 302E 000C move.w D0, [A6 + 0xC]
00000DEE 322E 000A move.w D1, [A6 + 0xA]
00000DF2 342E 0008 move.w D2, [A6 + 0x8]
00000DF6 3D41 FFF8 move.w [A6 - 0x8], D1
00000DFA 956E FFF8 sub.w [A6 - 0x8], D2
00000DFE 3D40 FFFA move.w [A6 - 0x6], D0
00000E02 956E FFFA sub.w [A6 - 0x6], D2
00000E06 3D41 FFFC move.w [A6 - 0x4], D1
00000E0A D56E FFFC add.w [A6 - 0x4], D2
00000E0E 3D40 FFFE move.w [A6 - 0x2], D0
00000E12 D56E FFFE add.w [A6 - 0x2], D2
00000E16 486E FFF8 pea.l [A6 - 0x8]
00000E1A A8B8 syscall PaintOval
00000E1C 4E5E unlink A6
00000E1E 205F movea.l A0, [A7]+
00000E20 5C4F addq.w A7, 6
00000E22 4ED0 jmp [A0]
00000E24 4E56 FFF8 link A6, -0x0008
00000E28 302E 000C move.w D0, [A6 + 0xC]
00000E2C 322E 000A move.w D1, [A6 + 0xA]
00000E30 342E 0008 move.w D2, [A6 + 0x8]
00000E34 3D41 FFF8 move.w [A6 - 0x8], D1
00000E38 956E FFF8 sub.w [A6 - 0x8], D2
00000E3C 3D40 FFFA move.w [A6 - 0x6], D0
00000E40 956E FFFA sub.w [A6 - 0x6], D2
00000E44 3D41 FFFC move.w [A6 - 0x4], D1
00000E48 D56E FFFC add.w [A6 - 0x4], D2
00000E4C 3D40 FFFE move.w [A6 - 0x2], D0
00000E50 D56E FFFE add.w [A6 - 0x2], D2
00000E54 486E FFF8 pea.l [A6 - 0x8]
00000E58 A8BA syscall InvertOval
00000E5A 4E5E unlink A6
00000E5C 205F movea.l A0, [A7]+
00000E5E 5C4F addq.w A7, 6
00000E60 4ED0 jmp [A0]
export_7:
00000E62 4E56 FFFC link A6, -0x0004
00000E66 486E FFFC pea.l [A6 - 0x4]
00000E6A A972 syscall GetMouse
00000E6C 206E 000C movea.l A0, [A6 + 0xC]
00000E70 30AE FFFE move.w [A0], [A6 - 0x2]
00000E74 206E 0008 movea.l A0, [A6 + 0x8]
00000E78 30AE FFFC move.w [A0], [A6 - 0x4]
00000E7C 4E5E unlink A6
00000E7E 205F movea.l A0, [A7]+
00000E80 504F addq.w A7, 8
00000E82 4ED0 jmp [A0]
00000E84 0431 2E32 4100 subi.b [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
00000E8A 7200 moveq.l D1, 0x00
00000E8C 6002 bra +0x4 /* 00000E90 */
export_8:
00000E8E 72FF moveq.l D1, 0xFFFFFFFF
label00000E90:
00000E90 4E56 FFF4 link A6, -0x000C
00000E94 486E FFF4 pea.l [A6 - 0xC]
00000E98 3F3C 0017 move.w -[A7], 0x17
00000E9C A9EB syscall Pack4/FP68K
00000E9E 3F3C 6000 move.w -[A7], 0x6000 /* '`\0' */
00000EA2 4857 pea.l [A7]
00000EA4 3F3C 0001 move.w -[A7], 0x1
00000EA8 A9EB syscall Pack4/FP68K
00000EAA 544F addq.w A7, 2
00000EAC 41EE FFF6 lea.l A0, [A6 - 0xA]
00000EB0 226E 0008 movea.l A1, [A6 + 0x8]
00000EB4 20D9 move.l [A0]+, [A1]+
00000EB6 20D9 move.l [A0]+, [A1]+
00000EB8 3091 move.w [A0], [A1]
00000EBA 5148 subq.w A0, 8
00000EBC 43EE 000C lea.l A1, [A6 + 0xC]
00000EC0 6140 bsr +0x42 /* 00000F02 */
00000EC2 3F3C 0004 move.w -[A7], 0x4
00000EC6 4857 pea.l [A7]
00000EC8 3F3C 001B move.w -[A7], 0x1B
00000ECC A9EB syscall Pack4/FP68K
00000ECE C21F and.b D1, [A7]+
00000ED0 671C beq +0x1E /* 00000EEE */
00000ED2 7200 moveq.l D1, 0x00
00000ED4 0890 0007 bclr.b [A0], 0x7
00000ED8 6704 beq +0x6 /* 00000EDE */
00000EDA 123C 0080 move.b D1, 0x80
label00000EDE:
00000EDE 487A 002E pea.l [PC + 0x2E /* 00000F0E, value 0x3F000000 '?\0\0\0', cstring "?" */]
00000EE2 4850 pea.l [A0]
00000EE4 3F3C 1000 move.w -[A7], 0x1000
00000EE8 A9EB syscall Pack4/FP68K
00000EEA 8310 or.b [A0], D1
00000EEC 6114 bsr +0x16 /* 00000F02 */
label00000EEE:
00000EEE 486E FFF4 pea.l [A6 - 0xC]
00000EF2 3F3C 0019 move.w -[A7], 0x19
00000EF6 A9EB syscall Pack4/FP68K
00000EF8 4E5E unlink A6
00000EFA 205F movea.l A0, [A7]+
00000EFC DEFC 0004 add.w A7, 0x4
00000F00 4ED0 jmp [A0]
fn00000F02:
00000F02 4850 pea.l [A0]
00000F04 4851 pea.l [A1]
00000F06 3F3C 2810 move.w -[A7], 0x2810
00000F0A A9EB syscall Pack4/FP68K
00000F0C 4E75 rts
00000F0E 3F00 move.w -[A7], D0
00000F10 0000 0431 ori.b D0, 0x31 /* '1' */
00000F14 2E32 4100 move.l D7, [A2 + <<invalid base displacement size>> + D4]
export_9:
00000F18 41FA 0012 lea.l A0, [PC + 0x12 /* 00000F2C, value 0x362EFFEE */]
00000F1C 4EBA 003E jsr [PC + 0x3E /* 00000F5C */]
00000F20 59AE FFF4 subq.l [A6 - 0xC], 4
00000F24 4EBA 006E jsr [PC + 0x6E /* 00000F94 */]
00000F28 4EFA 005A jmp [PC + 0x5A /* 00000F84 */]
00000F2C 362E FFEE move.w D3, [A6 - 0x12]
00000F30 6716 beq +0x18 /* 00000F48 */
00000F32 9644 sub.w D3, D4
00000F34 6206 bhi +0x8 /* 00000F3C */
00000F36 382E FFEE move.w D4, [A6 - 0x12]
00000F3A 600C bra +0xE /* 00000F48 */
label00000F3C:
00000F3C 5343 subq.w D3, 1
label00000F3E:
00000F3E 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00000F42 A883 syscall DrawChar
00000F44 51CB FFF8 dbf D3, -0xA /* 00000F3E */
label00000F48:
00000F48 5344 subq.w D4, 1
label00000F4A:
00000F4A 121A move.b D1, [A2]+
00000F4C 3F01 move.w -[A7], D1
00000F4E A883 syscall DrawChar
00000F50 51CC FFF8 dbf D4, -0xA /* 00000F4A */
00000F54 4E75 rts
00000F56 0431 2E32 4100 subi.b [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
fn00000F5C:
00000F5C 201F move.l D0, [A7]+
00000F5E 4E56 FFEA link A6, -0x0016
00000F62 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
00000F66 2F00 move.l -[A7], D0
00000F68 2D48 FFF0 move.l [A6 - 0x10], A0
00000F6C 49EE 0008 lea.l A4, [A6 + 0x8]
00000F70 2D4C FFF8 move.l [A6 - 0x8], A4
00000F74 3214 move.w D1, [A4]
00000F76 D241 add.w D1, D1
00000F78 D8C1 add.w A4, D1
00000F7A 43EC 0006 lea.l A1, [A4 + 0x6]
00000F7E 2D49 FFF4 move.l [A6 - 0xC], A1
00000F82 4E75 rts
label00000F84:
00000F84 206E FFF4 movea.l A0, [A6 - 0xC]
00000F88 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00000F8C 4E5E unlink A6
00000F8E 225F movea.l A1, [A7]+
00000F90 2E48 movea.l A7, A0
00000F92 4ED1 jmp [A1]
fn00000F94:
00000F94 B9EE FFF8 cmpa.l A4, [A6 - 0x8]
00000F98 6602 bne +0x4 /* 00000F9C */
00000F9A 4E75 rts
label00000F9C:
00000F9C 302C 0000 move.w D0, [A4 + 0x0]
00000FA0 D040 add.w D0, D0
00000FA2 303B 0008 move.w D0, [PC + D0.w + 0x8]
00000FA6 4EBB 0004 jsr [PC + D0.w + 0x4]
00000FAA 60E8 bra -0x16 /* 00000F94 */
00000FAC 00E2 .incomplete
00000FAE 00D0 .incomplete
00000FB0 015A bchg [A2]+, D0
00000FB2 0010 009A ori.b [A0], 0x9A
00000FB6 0026 005A ori.b -[A6], 0x5A /* 'Z' */
00000FBA 0072 45EC FFFF ori.w <<invalid full ext with IS == 1 and I/IS == 7>>, 0x45EC
00000FC0 7801 moveq.l D4, 0x01
00000FC2 3D6C FFFC FFEE move.w [A6 - 0x12], [A4 - 0x4]
00000FC8 4EBA 01B8 jsr [PC + 0x1B8 /* 00001182 */]
00000FCC 49EC FFFA lea.l A4, [A4 - 0x6]
00000FD0 4E75 rts
00000FD2 246C FFFC movea.l A2, [A4 - 0x4]
00000FD6 3D6C FFFA FFEE move.w [A6 - 0x12], [A4 - 0x6]
00000FDC 7800 moveq.l D4, 0x00
00000FDE 181A move.b D4, [A2]+
00000FE0 6606 bne +0x8 /* 00000FE8 */
00000FE2 4A6E FFEE tst.w [A6 - 0x12]
00000FE6 660A bne +0xC /* 00000FF2 */
label00000FE8:
00000FE8 4EBA 0198 jsr [PC + 0x198 /* 00001182 */]
00000FEC 49EC FFF8 lea.l A4, [A4 - 0x8]
00000FF0 4E75 rts
label00000FF2:
00000FF2 3F3C 2020 move.w -[A7], 0x2020 /* ' ' */
00000FF6 244F movea.l A2, A7
00000FF8 7801 moveq.l D4, 0x01
00000FFA 4EBA 0186 jsr [PC + 0x186 /* 00001182 */]
00000FFE 544F addq.w A7, 2
00001000 49EC FFF8 lea.l A4, [A4 - 0x8]
00001004 4E75 rts
00001006 246C FFFC movea.l A2, [A4 - 0x4]
0000100A 382C FFFA move.w D4, [A4 - 0x6]
0000100E 3D6C FFF8 FFEE move.w [A6 - 0x12], [A4 - 0x8]
00001014 4EBA 016C jsr [PC + 0x16C /* 00001182 */]
00001018 49EC FFF6 lea.l A4, [A4 - 0xA]
0000101C 4E75 rts
0000101E 7800 moveq.l D4, 0x00
00001020 246C FFFA movea.l A2, [A4 - 0x6]
00001024 181A move.b D4, [A2]+
00001026 3D6C FFF8 FFEE move.w [A6 - 0x12], [A4 - 0x8]
0000102C 122C FFFE move.b D1, [A4 - 0x2]
00001030 670A beq +0xC /* 0000103C */
label00001032:
00001032 D4C4 add.w A2, D4
00001034 181A move.b D4, [A2]+
00001036 6704 beq +0x6 /* 0000103C */
00001038 5301 subq.b D1, 1
0000103A 66F6 bne -0x8 /* 00001032 */
label0000103C:
0000103C 4EBA 0144 jsr [PC + 0x144 /* 00001182 */]
00001040 49EC FFF6 lea.l A4, [A4 - 0xA]
00001044 4E75 rts
00001046 7800 moveq.l D4, 0x00
00001048 102C FFFE move.b D0, [A4 - 0x2]
0000104C 670C beq +0xE /* 0000105A */
0000104E 0C00 0001 cmpi.b D0, 0x1
00001052 6612 bne +0x14 /* 00001066 */
00001054 45FA 0020 lea.l A2, [PC + 0x20 /* 00001076, value 0x4547275, pstring "True" */]
00001058 6004 bra +0x6 /* 0000105E */
label0000105A:
0000105A 45FA 0014 lea.l A2, [PC + 0x14 /* 00001070, value 0x546616C, pstring "False" */]
label0000105E:
0000105E 181A move.b D4, [A2]+
00001060 3D6C FFFC FFEE move.w [A6 - 0x12], [A4 - 0x4]
label00001066:
00001066 4EBA 011A jsr [PC + 0x11A /* 00001182 */]
0000106A 49EC FFFA lea.l A4, [A4 - 0x6]
0000106E 4E75 rts
00001070 0546 bchg D6, D2
00001072 616C bsr +0x6E /* 000010E0 */
00001074 7365 moveq.l D1, 0x65
00001076 0454 7275 subi.w [A4], 0x7275 /* 'ru' */
0000107A 6500 202C bcs +0x202E /* 000030A8 */
0000107E FFFC .invalid <<F/7/7>>
00001080 3D6C FFFA FFEE move.w [A6 - 0x12], [A4 - 0x6]
00001086 611A bsr +0x1C /* 000010A2 */
00001088 49EC FFF8 lea.l A4, [A4 - 0x8]
0000108C 4E75 rts
0000108E 302C FFFE move.w D0, [A4 - 0x2]
00001092 48C0 ext.l D0
00001094 3D6C FFFC FFEE move.w [A6 - 0x12], [A4 - 0x4]
0000109A 6106 bsr +0x8 /* 000010A2 */
0000109C 49EC FFFA lea.l A4, [A4 - 0x6]
000010A0 4E75 rts
fn000010A2:
000010A2 244F movea.l A2, A7
000010A4 4FEF FF00 lea.l A7, [A7 - 0x100]
000010A8 7800 moveq.l D4, 0x00
000010AA 2C00 move.l D6, D0
000010AC 6C02 bge +0x4 /* 000010B0 */
000010AE 4480 neg.l D0
label000010B0:
000010B0 2600 move.l D3, D0
label000010B2:
000010B2 2403 move.l D2, D3
000010B4 4242 clr.w D2
000010B6 4842 swap.w D2
000010B8 84FC 000A divu.w D2, 0xA /* '\n' */
000010BC 2A02 move.l D5, D2
000010BE 3A03 move.w D5, D3
000010C0 8AFC 000A divu.w D5, 0xA /* '\n' */
000010C4 4842 swap.w D2
000010C6 2602 move.l D3, D2
000010C8 3605 move.w D3, D5
000010CA 4845 swap.w D5
000010CC 0645 0030 addi.w D5, 0x30 /* '0' */
000010D0 1505 move.b -[A2], D5
000010D2 5244 addq.w D4, 1
000010D4 4A83 tst.l D3
000010D6 66DA bne -0x24 /* 000010B2 */
000010D8 4A86 tst.l D6
000010DA 6C06 bge +0x8 /* 000010E2 */
000010DC 5244 addq.w D4, 1
000010DE 153C 002D move.b -[A2], 0x2D /* '-' */
// begin alternate branch 000010E0-000010E6
fn000010E0:
000010E0 002D 362E FFEE ori.b [A5 - 0x12], 0x2E /* '.' */
// end alternate branch 000010E0-000010E6
fn000010E0: // (misaligned)
label000010E2:
000010E2 362E FFEE move.w D3, [A6 - 0x12]
000010E6 9644 sub.w D3, D4
000010E8 6B0E bmi +0x10 /* 000010F8 */
000010EA 670C beq +0xE /* 000010F8 */
000010EC 5343 subq.w D3, 1
label000010EE:
000010EE 153C 0020 move.b -[A2], 0x20 /* ' ' */
000010F2 5244 addq.w D4, 1
000010F4 51CB FFF8 dbf D3, -0xA /* 000010EE */
label000010F8:
000010F8 426E FFEE clr.w [A6 - 0x12]
000010FC 4EBA 0084 jsr [PC + 0x84 /* 00001182 */]
00001100 4FEF 0100 lea.l A7, [A7 + 0x100]
00001104 4E75 rts
00001106 206C FFFC movea.l A0, [A4 - 0x4]
0000110A 3D6C FFFA FFEE move.w [A6 - 0x12], [A4 - 0x6]
00001110 4FEF FF00 lea.l A7, [A7 - 0x100]
00001114 244F movea.l A2, A7
00001116 2F0A move.l -[A7], A2
00001118 2F08 move.l -[A7], A0
0000111A 4A6C FFF8 tst.w [A4 - 0x8]
0000111E 671C beq +0x1E /* 0000113C */
00001120 3F2E FFEE move.w -[A7], [A6 - 0x12]
00001124 3F2C FFF8 move.w -[A7], [A4 - 0x8]
00001128 4EBA 00BE jsr [PC + 0xBE /* 000011E8 */]
0000112C 602A bra +0x2C /* 00001158 */
0000112E 0C6E 003C FFEE cmpi.w [A6 - 0x12], 0x3C /* '<' */
00001134 6306 bls +0x8 /* 0000113C */
00001136 3D7C 003C FFEE move.w [A6 - 0x12], 0x3C /* '<' */
label0000113C:
0000113C 0C6E 0009 FFEE cmpi.w [A6 - 0x12], 0x9 /* '\t' */
00001142 6306 bls +0x8 /* 0000114A */
00001144 3F2E FFEE move.w -[A7], [A6 - 0x12]
00001148 600A bra +0xC /* 00001154 */
label0000114A:
0000114A 3D7C 000A FFEE move.w [A6 - 0x12], 0xA /* '\n' */
00001150 3F2E FFEE move.w -[A7], [A6 - 0x12]
label00001154:
00001154 4EBA 0038 jsr [PC + 0x38 /* 0000118E */]
label00001158:
00001158 7800 moveq.l D4, 0x00
0000115A 181A move.b D4, [A2]+
0000115C 322E FFEE move.w D1, [A6 - 0x12]
00001160 B841 cmp.w D4, D1
00001162 670C beq +0xE /* 00001170 */
00001164 6D0E blt +0x10 /* 00001174 */
00001166 0C12 0020 cmpi.b [A2], 0x20 /* ' ' */
0000116A 6604 bne +0x6 /* 00001170 */
0000116C 524A addq.w A2, 1
0000116E 5344 subq.w D4, 1
label00001170:
00001170 426E FFEE clr.w [A6 - 0x12]
label00001174:
00001174 4EBA 000C jsr [PC + 0xC /* 00001182 */]
00001178 4FEF 0100 lea.l A7, [A7 + 0x100]
0000117C 49EC FFF6 lea.l A4, [A4 - 0xA]
00001180 4E75 rts
fn00001182:
00001182 4A44 tst.w D4
00001184 6602 bne +0x4 /* 00001188 */
00001186 4E75 rts
label00001188:
00001188 206E FFF0 movea.l A0, [A6 - 0x10]
0000118C 4ED0 jmp [A0]
fn0000118E:
0000118E 4E56 0000 link A6, 0
00001192 7000 moveq.l D0, 0x00
00001194 302E 0008 move.w D0, [A6 + 0x8]
00001198 0C40 0050 cmpi.w D0, 0x50 /* 'P' */
0000119C 6F04 ble +0x6 /* 000011A2 */
0000119E 303C 0050 move.w D0, 0x50 /* 'P' */
label000011A2:
000011A2 0C40 000A cmpi.w D0, 0xA /* '\n' */
000011A6 6C04 bge +0x6 /* 000011AC */
000011A8 303C 000A move.w D0, 0xA /* '\n' */
label000011AC:
000011AC 3D40 0008 move.w [A6 + 0x8], D0
000011B0 5140 subq.w D0, 8
000011B2 2F00 move.l -[A7], D0
000011B4 2F2E 000A move.l -[A7], [A6 + 0xA]
000011B8 2F2E 000E move.l -[A7], [A6 + 0xE]
000011BC 4EBA EE42 jsr [PC - 0x11BE /* 00000000 */]
000011C0 302E 0008 move.w D0, [A6 + 0x8]
000011C4 206E 000E movea.l A0, [A6 + 0xE]
000011C8 7200 moveq.l D1, 0x00
000011CA 1210 move.b D1, [A0]
000011CC 1080 move.b [A0], D0
000011CE D0C1 add.w A0, D1
000011D0 5288 addq.l A0, 1
label000011D2:
000011D2 B240 cmp.w D1, D0
000011D4 6C08 bge +0xA /* 000011DE */
000011D6 10FC 0020 move.b [A0]+, 0x20 /* ' ' */
000011DA 5241 addq.w D1, 1
000011DC 60F4 bra -0xA /* 000011D2 */
label000011DE:
000011DE 4E5E unlink A6
000011E0 205F movea.l A0, [A7]+
000011E2 DEFC 000A add.w A7, 0xA /* '\n' */
000011E6 4ED0 jmp [A0]
fn000011E8:
000011E8 4E56 0000 link A6, 0
000011EC 3F2E 0008 move.w -[A7], [A6 + 0x8]
000011F0 3F3C 0100 move.w -[A7], 0x100
000011F4 2F2E 000C move.l -[A7], [A6 + 0xC]
000011F8 2F2E 0010 move.l -[A7], [A6 + 0x10]
000011FC 4EBA EE02 jsr [PC - 0x11FE /* 00000000 */]
00001200 206E 0010 movea.l A0, [A6 + 0x10]
00001204 0C50 013F cmpi.w [A0], 0x13F
00001208 6610 bne +0x12 /* 0000121A */
0000120A 2F08 move.l -[A7], A0
0000120C 2F2E 000C move.l -[A7], [A6 + 0xC]
00001210 3F2E 000A move.w -[A7], [A6 + 0xA]
00001214 4EBA FF78 jsr [PC - 0x88 /* 0000118E */]
00001218 6032 bra +0x34 /* 0000124C */
label0000121A:
0000121A 7000 moveq.l D0, 0x00
0000121C 302E 000A move.w D0, [A6 + 0xA]
00001220 0C40 0050 cmpi.w D0, 0x50 /* 'P' */
00001224 6F04 ble +0x6 /* 0000122A */
00001226 303C 0050 move.w D0, 0x50 /* 'P' */
label0000122A:
0000122A 7200 moveq.l D1, 0x00
0000122C 1210 move.b D1, [A0]
0000122E B240 cmp.w D1, D0
00001230 6C1A bge +0x1C /* 0000124C */
00001232 1080 move.b [A0], D0
00001234 5288 addq.l A0, 1
00001236 2248 movea.l A1, A0
00001238 D0C0 add.w A0, D0
0000123A D2C1 add.w A1, D1
label0000123C:
0000123C 1121 move.b -[A0], -[A1]
0000123E 5340 subq.w D0, 1
00001240 5341 subq.w D1, 1
00001242 6EF8 bgt -0x6 /* 0000123C */
label00001244:
00001244 113C 0020 move.b -[A0], 0x20 /* ' ' */
00001248 5340 subq.w D0, 1
0000124A 6EF8 bgt -0x6 /* 00001244 */
label0000124C:
0000124C 4E5E unlink A6
0000124E 205F movea.l A0, [A7]+
00001250 DEFC 000C add.w A7, 0xC
00001254 4ED0 jmp [A0]
00001256 0431 2E32 4100 subi.b [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
0000125C 206F 0008 movea.l A0, [A7 + 0x8]
00001260 3F3C 0001 move.w -[A7], 0x1
00001264 A9EE syscall Pack7/DecStr68K
00001266 206F 0004 movea.l A0, [A7 + 0x4]
0000126A 2080 move.l [A0], D0
0000126C 4EFA 0010 jmp [PC + 0x10 /* 0000127E */]
export_10:
00001270 206F 0004 movea.l A0, [A7 + 0x4]
00001274 202F 0008 move.l D0, [A7 + 0x8]
00001278 3F3C 0000 move.w -[A7], 0x0
0000127C A9EE syscall Pack7/DecStr68K
label0000127E:
0000127E 205F movea.l A0, [A7]+
00001280 504F addq.w A7, 8
00001282 4ED0 jmp [A0]
00001284 225F movea.l A1, [A7]+
00001286 205F movea.l A0, [A7]+
00001288 2F09 move.l -[A7], A1
0000128A A039 syscall ReadDateTime
0000128C 3F40 0004 move.w [A7 + 0x4], D0
00001290 4E75 rts
export_11:
00001292 225F movea.l A1, [A7]+
00001294 205F movea.l A0, [A7]+
00001296 20B8 020C move.l [A0], [0x0000020C /* Time */]
0000129A 4ED1 jmp [A1]
0000129C 205F movea.l A0, [A7]+
0000129E 201F move.l D0, [A7]+
000012A0 2F08 move.l -[A7], A0
000012A2 A03A syscall SetDateTime
000012A4 3F40 0004 move.w [A7 + 0x4], D0
000012A8 4E75 rts
000012AA 206F 0008 movea.l A0, [A7 + 0x8]
000012AE A9C7 syscall DateToSeconds/Date2Secs
000012B0 4CDF 0302 movem.l D1,A0,A1, [A7]+
000012B4 2080 move.l [A0], D0
000012B6 2041 movea.l A0, D1
000012B8 4ED0 jmp [A0]
000012BA 4CDF 0301 movem.l D0,A0,A1, [A7]+
000012BE 2F00 move.l -[A7], D0
000012C0 2009 move.l D0, A1
000012C2 A9C6 syscall SecondsToDate/Secs2Date
000012C4 4E75 rts
000012C6 7000 moveq.l D0, 0x00
000012C8 206F 0004 movea.l A0, [A7 + 0x4]
000012CC 2038 020C move.l D0, [0x0000020C /* Time */]
000012D0 A9C6 syscall SecondsToDate/Secs2Date
000012D2 2E9F move.l [A7], [A7]+
000012D4 4E75 rts
000012D6 206F 0004 movea.l A0, [A7 + 0x4]
000012DA A9C7 syscall DateToSeconds/Date2Secs
000012DC A03A syscall SetDateTime
000012DE 4CDF 0300 movem.l A0,A1, [A7]+
000012E2 4ED0 jmp [A0]
export_12:
000012E4 225F movea.l A1, [A7]+
000012E6 201F move.l D0, [A7]+
000012E8 2F09 move.l -[A7], A1
000012EA A032 syscall FlushEvents
000012EC 4E75 rts
000012EE 2F78 02F0 0004 move.l [A7 + 0x4], [0x000002F0 /* DoubleTime */]
000012F4 4E75 rts
000012F6 2F78 02F4 0004 move.l [A7 + 0x4], [0x000002F4 /* CaretTime */]
000012FC 4E75 rts
000012FE 225F movea.l A1, [A7]+
00001300 201F move.l D0, [A7]+
00001302 305F movea.w A0, [A7]+
00001304 2F09 move.l -[A7], A1
00001306 A02F syscall PostEvent/PPostEvent
00001308 3F40 0004 move.w [A7 + 0x4], D0
0000130C 4E75 rts
0000130E 225F movea.l A1, [A7]+
00001310 205F movea.l A0, [A7]+
00001312 301F move.w D0, [A7]+
00001314 2F09 move.l -[A7], A1
00001316 A031 syscall GetOSEvent
00001318 4A40 tst.w D0
0000131A 6706 beq +0x8 /* 00001322 */
0000131C 422F 0004 clr.b [A7 + 0x4]
00001320 6006 bra +0x8 /* 00001328 */
label00001322:
00001322 1F7C 0001 0004 move.b [A7 + 0x4], 0x1
label00001328:
00001328 4E75 rts
0000132A 225F movea.l A1, [A7]+
0000132C 205F movea.l A0, [A7]+
0000132E 301F move.w D0, [A7]+
00001330 2F09 move.l -[A7], A1
00001332 A030 syscall OSEventAvail
00001334 4A40 tst.w D0
00001336 6706 beq +0x8 /* 0000133E */
00001338 422F 0004 clr.b [A7 + 0x4]
0000133C 6006 bra +0x8 /* 00001344 */
label0000133E:
0000133E 1F7C 0001 0004 move.b [A7 + 0x4], 0x1
label00001344:
00001344 4E75 rts
export_13:
00001346 225F movea.l A1, [A7]+
00001348 31DF 0144 move.w [0x00000144 /* SysEvtMask */], [A7]+
0000134C 4ED1 jmp [A1]
export_15:
0000134E 51C1 sf D1
00001350 6002 bra +0x4 /* 00001354 */
00001352 50C1 st D1
label00001354:
00001354 4E56 FFCE link A6, -0x0032
00001358 41EE FFCE lea.l A0, [A6 - 0x32]
0000135C 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00001362 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00001368 226E 000C movea.l A1, [A6 + 0xC]
0000136C 2151 0024 move.l [A0 + 0x24], [A1]
00001370 4268 002C clr.w [A0 + 0x2C]
00001374 42A8 002E clr.l [A0 + 0x2E]
00001378 4A01 tst.b D1
0000137A 6604 bne +0x6 /* 00001380 */
0000137C A002 syscall Read
0000137E 6002 bra +0x4 /* 00001382 */
label00001380:
00001380 A003 syscall Write
label00001382:
00001382 3D40 0012 move.w [A6 + 0x12], D0
00001386 226E 000C movea.l A1, [A6 + 0xC]
0000138A 22A8 0028 move.l [A1], [A0 + 0x28]
0000138E 4E5E unlink A6
00001390 225F movea.l A1, [A7]+
00001392 DFFC 0000 000A add.l A7, 0xA /* '\n' */
00001398 4ED1 jmp [A1]
0000139A 4E56 FFC0 link A6, -0x0040
0000139E 41EE FFC0 lea.l A0, [A6 - 0x40]
000013A2 216E 0010 0012 move.l [A0 + 0x12], [A6 + 0x10]
000013A8 316E 0014 0016 move.w [A0 + 0x16], [A6 + 0x14]
000013AE 4268 001C clr.w [A0 + 0x1C]
000013B2 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
000013B4 3D40 0016 move.w [A6 + 0x16], D0
000013B8 226E 000C movea.l A1, [A6 + 0xC]
000013BC 32A8 0016 move.w [A1], [A0 + 0x16]
000013C0 2028 0030 move.l D0, [A0 + 0x30]
000013C4 E080 asr D0, 8
000013C6 E280 asr D0, 1
000013C8 C0E8 003E mulu.w D0, [A0 + 0x3E]
000013CC E380 asl D0, 1
000013CE E180 asl D0, 8
000013D0 226E 0008 movea.l A1, [A6 + 0x8]
000013D4 2280 move.l [A1], D0
000013D6 4E5E unlink A6
000013D8 225F movea.l A1, [A7]+
000013DA DFFC 0000 000E add.l A7, 0xE
000013E0 4ED1 jmp [A1]
000013E2 4E56 FFC0 link A6, -0x0040
000013E6 41EE FFC0 lea.l A0, [A6 - 0x40]
000013EA 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
000013F0 A014 syscall GetVol/PBHGetVol/HGetVol
000013F2 3D40 0010 move.w [A6 + 0x10], D0
000013F6 226E 0008 movea.l A1, [A6 + 0x8]
000013FA 32A8 0016 move.w [A1], [A0 + 0x16]
000013FE 4E5E unlink A6
00001400 225F movea.l A1, [A7]+
00001402 508F addq.l A7, 8
00001404 4ED1 jmp [A1]
export_14:
00001406 4E56 FFC0 link A6, -0x0040
0000140A 41EE FFC0 lea.l A0, [A6 - 0x40]
0000140E 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00001414 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000141A A015 syscall SetVol/PBHSetVol/HSetVol
0000141C 3D40 000E move.w [A6 + 0xE], D0
00001420 4E5E unlink A6
00001422 225F movea.l A1, [A7]+
00001424 5C8F addq.l A7, 6
00001426 4ED1 jmp [A1]
00001428 4E56 FFC0 link A6, -0x0040
0000142C 41EE FFC0 lea.l A0, [A6 - 0x40]
00001430 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00001436 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000143C A013 syscall FlushVol
0000143E 3D40 000E move.w [A6 + 0xE], D0
00001442 4E5E unlink A6
00001444 225F movea.l A1, [A7]+
00001446 5C8F addq.l A7, 6
00001448 4ED1 jmp [A1]
0000144A 4E56 FFB0 link A6, -0x0050
0000144E 41EE FFB0 lea.l A0, [A6 - 0x50]
00001452 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
00001458 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
0000145E 4228 001A clr.b [A0 + 0x1A]
00001462 A008 syscall Create/PBHCreate/HCreate
00001464 4A40 tst.w D0
00001466 6616 bne +0x18 /* 0000147E */
00001468 4268 001C clr.w [A0 + 0x1C]
0000146C A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
0000146E 2008 move.l D0, A0
00001470 43E8 0020 lea.l A1, [A0 + 0x20]
00001474 22EE 0008 move.l [A1]+, [A6 + 0x8]
00001478 22AE 000C move.l [A1], [A6 + 0xC]
0000147C A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label0000147E:
0000147E 3D40 0016 move.w [A6 + 0x16], D0
00001482 4E5E unlink A6
00001484 225F movea.l A1, [A7]+
00001486 DFFC 0000 000E add.l A7, 0xE
0000148C 4ED1 jmp [A1]
export_16:
0000148E 4E56 FFCE link A6, -0x0032
00001492 41EE FFCE lea.l A0, [A6 - 0x32]
00001496 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000149C 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000014A2 4228 001A clr.b [A0 + 0x1A]
000014A6 4228 001B clr.b [A0 + 0x1B]
000014AA 42A8 001C clr.l [A0 + 0x1C]
000014AE A000 syscall Open/PBHOpen/HOpen
000014B0 226E 0008 movea.l A1, [A6 + 0x8]
000014B4 32A8 0018 move.w [A1], [A0 + 0x18]
000014B8 3D40 0012 move.w [A6 + 0x12], D0
000014BC 4E5E unlink A6
000014BE 205F movea.l A0, [A7]+
000014C0 DFFC 0000 000A add.l A7, 0xA /* '\n' */
000014C6 4ED0 jmp [A0]
000014C8 4E56 FFCE link A6, -0x0032
000014CC 41EE FFCE lea.l A0, [A6 - 0x32]
000014D0 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
000014D6 A018 syscall GetFPos
000014D8 3D40 000E move.w [A6 + 0xE], D0
000014DC 226E 0008 movea.l A1, [A6 + 0x8]
000014E0 22A8 002E move.l [A1], [A0 + 0x2E]
000014E4 4E5E unlink A6
000014E6 225F movea.l A1, [A7]+
000014E8 5C8F addq.l A7, 6
000014EA 4ED1 jmp [A1]
000014EC 4E56 FFCE link A6, -0x0032
000014F0 41EE FFCE lea.l A0, [A6 - 0x32]
000014F4 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
000014FA 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00001500 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00001506 A044 syscall SetFPos
00001508 3D40 0010 move.w [A6 + 0x10], D0
0000150C 4E5E unlink A6
0000150E 225F movea.l A1, [A7]+
00001510 508F addq.l A7, 8
00001512 4ED1 jmp [A1]
export_17:
00001514 4E56 FFCE link A6, -0x0032
00001518 41EE FFCE lea.l A0, [A6 - 0x32]
0000151C 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00001522 A011 syscall GetEOF
00001524 3D40 000E move.w [A6 + 0xE], D0
00001528 226E 0008 movea.l A1, [A6 + 0x8]
0000152C 22A8 001C move.l [A1], [A0 + 0x1C]
00001530 4E5E unlink A6
00001532 225F movea.l A1, [A7]+
00001534 5C8F addq.l A7, 6
00001536 4ED1 jmp [A1]
00001538 4E56 FFCE link A6, -0x0032
0000153C 41EE FFCE lea.l A0, [A6 - 0x32]
00001540 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00001546 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
0000154C A012 syscall SetEOF
0000154E 3D40 000E move.w [A6 + 0xE], D0
00001552 4E5E unlink A6
00001554 225F movea.l A1, [A7]+
00001556 5C8F addq.l A7, 6
00001558 4ED1 jmp [A1]
export_18:
0000155A 4E56 FFCE link A6, -0x0032
0000155E 41EE FFCE lea.l A0, [A6 - 0x32]
00001562 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00001568 A001 syscall Close
0000156A 3D40 000A move.w [A6 + 0xA], D0
0000156E 4E5E unlink A6
00001570 205F movea.l A0, [A7]+
00001572 548F addq.l A7, 2
00001574 4ED0 jmp [A0]
00001576 4E56 FFB0 link A6, -0x0050
0000157A 41EE FFB0 lea.l A0, [A6 - 0x50]
0000157E 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00001584 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
0000158A 4228 001A clr.b [A0 + 0x1A]
0000158E 4268 001C clr.w [A0 + 0x1C]
00001592 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00001594 3D40 0012 move.w [A6 + 0x12], D0
00001598 41E8 0020 lea.l A0, [A0 + 0x20]
0000159C 226E 0008 movea.l A1, [A6 + 0x8]
000015A0 7010 moveq.l D0, 0x10
000015A2 A02E syscall BlockMove/BlockMoveData
000015A4 4E5E unlink A6
000015A6 225F movea.l A1, [A7]+
000015A8 DFFC 0000 000A add.l A7, 0xA /* '\n' */
000015AE 4ED1 jmp [A1]
000015B0 4E56 FFB0 link A6, -0x0050
000015B4 41EE FFB0 lea.l A0, [A6 - 0x50]
000015B8 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000015BE 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000015C4 4228 001A clr.b [A0 + 0x1A]
000015C8 4268 001C clr.w [A0 + 0x1C]
000015CC A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000015CE 43E8 0020 lea.l A1, [A0 + 0x20]
000015D2 206E 0008 movea.l A0, [A6 + 0x8]
000015D6 7010 moveq.l D0, 0x10
000015D8 A02E syscall BlockMove/BlockMoveData
000015DA 41EE FFB0 lea.l A0, [A6 - 0x50]
000015DE A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
000015E0 3D40 0012 move.w [A6 + 0x12], D0
000015E4 4E5E unlink A6
000015E6 225F movea.l A1, [A7]+
000015E8 DFFC 0000 000A add.l A7, 0xA /* '\n' */
000015EE 4ED1 jmp [A1]
000015F0 4E56 FFCE link A6, -0x0032
000015F4 41EE FFCE lea.l A0, [A6 - 0x32]
000015F8 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000015FE 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00001604 4228 001A clr.b [A0 + 0x1A]
00001608 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
0000160E A00B syscall Rename/PBHRename/HRename
00001610 3D40 0012 move.w [A6 + 0x12], D0
00001614 4E5E unlink A6
00001616 225F movea.l A1, [A7]+
00001618 DFFC 0000 000A add.l A7, 0xA /* '\n' */
0000161E 4ED1 jmp [A1]
00001620 4E56 FFCE link A6, -0x0032
00001624 41EE FFCE lea.l A0, [A6 - 0x32]
00001628 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000162E 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00001634 4228 001A clr.b [A0 + 0x1A]
00001638 A009 syscall Delete/PBHDelete/HDelete
0000163A 3D40 000E move.w [A6 + 0xE], D0
0000163E 4E5E unlink A6
00001640 225F movea.l A1, [A7]+
00001642 5C8F addq.l A7, 6
00001644 4ED1 jmp [A1]
00001646 A02C syscall InitApplZone
00001648 4EFA 019C jmp [PC + 0x19C /* 000017E6 */]
0000164C 225F movea.l A1, [A7]+
0000164E 205F movea.l A0, [A7]+
00001650 A057 syscall SetAppBase/SetApplBase
00001652 4EFA 0190 jmp [PC + 0x190 /* 000017E4 */]
00001656 225F movea.l A1, [A7]+
00001658 204F movea.l A0, A7
0000165A A019 syscall InitZone
0000165C DEFC 000E add.w A7, 0xE
00001660 4EFA 0182 jmp [PC + 0x182 /* 000017E4 */]
00001664 225F movea.l A1, [A7]+
00001666 205F movea.l A0, [A7]+
00001668 A02D syscall SetApplLimit
0000166A 4EFA 0178 jmp [PC + 0x178 /* 000017E4 */]
0000166E A036 syscall MoreMasters
00001670 4EFA 0174 jmp [PC + 0x174 /* 000017E6 */]
00001674 A11A syscall GetZone, flags=1
00001676 2F48 0004 move.l [A7 + 0x4], A0
0000167A 4EFA 016A jmp [PC + 0x16A /* 000017E6 */]
0000167E 225F movea.l A1, [A7]+
00001680 205F movea.l A0, [A7]+
00001682 A01B syscall SetZone
00001684 4EFA 015E jmp [PC + 0x15E /* 000017E4 */]
00001688 2F78 02A6 0004 move.l [A7 + 0x4], [0x000002A6 /* SysZone */]
0000168E 4EFA 015C jmp [PC + 0x15C /* 000017EC */]
00001692 2F78 02AA 0004 move.l [A7 + 0x4], [0x000002AA /* ApplZone */]
00001698 4EFA 0152 jmp [PC + 0x152 /* 000017EC */]
export_22:
0000169C 225F movea.l A1, [A7]+
0000169E 201F move.l D0, [A7]+
000016A0 A122 syscall NewHandle, flags=1
000016A2 2E88 move.l [A7], A0
000016A4 4EFA 013E jmp [PC + 0x13E /* 000017E4 */]
export_20:
000016A8 225F movea.l A1, [A7]+
000016AA 205F movea.l A0, [A7]+
000016AC A023 syscall DisposHandle/DisposeHandle
000016AE 4EFA 0134 jmp [PC + 0x134 /* 000017E4 */]
export_25:
000016B2 225F movea.l A1, [A7]+
000016B4 205F movea.l A0, [A7]+
000016B6 A025 syscall GetHandleSize
000016B8 2E80 move.l [A7], D0
000016BA 6A06 bpl +0x8 /* 000016C2 */
000016BC 4297 clr.l [A7]
000016BE 4EFA 0124 jmp [PC + 0x124 /* 000017E4 */]
label000016C2:
000016C2 4EFA 011E jmp [PC + 0x11E /* 000017E2 */]
000016C6 225F movea.l A1, [A7]+
000016C8 201F move.l D0, [A7]+
000016CA 205F movea.l A0, [A7]+
000016CC A024 syscall SetHandleSize
000016CE 4EFA 0114 jmp [PC + 0x114 /* 000017E4 */]
000016D2 225F movea.l A1, [A7]+
000016D4 205F movea.l A0, [A7]+
000016D6 A126 syscall HandleZone, flags=1
000016D8 2E88 move.l [A7], A0
000016DA 4EFA 0108 jmp [PC + 0x108 /* 000017E4 */]
000016DE 225F movea.l A1, [A7]+
000016E0 205F movea.l A0, [A7]+
000016E2 A128 syscall RecoverHandle, flags=1
000016E4 2E88 move.l [A7], A0
000016E6 4EFA 00FA jmp [PC + 0xFA /* 000017E2 */]
000016EA 225F movea.l A1, [A7]+
000016EC 201F move.l D0, [A7]+
000016EE 205F movea.l A0, [A7]+
000016F0 A027 syscall ReallocateHandle
000016F2 4EFA 00F0 jmp [PC + 0xF0 /* 000017E4 */]
export_26:
000016F6 225F movea.l A1, [A7]+
000016F8 201F move.l D0, [A7]+
000016FA A11E syscall NewPtr, flags=1
000016FC 2E88 move.l [A7], A0
000016FE 4EFA 00E4 jmp [PC + 0xE4 /* 000017E4 */]
export_27:
00001702 225F movea.l A1, [A7]+
00001704 205F movea.l A0, [A7]+
00001706 A01F syscall DisposPtr/DisposePtr
00001708 4EFA 00DA jmp [PC + 0xDA /* 000017E4 */]
0000170C 225F movea.l A1, [A7]+
0000170E 205F movea.l A0, [A7]+
00001710 A021 syscall GetPtrSize
00001712 2E80 move.l [A7], D0
00001714 6A06 bpl +0x8 /* 0000171C */
00001716 4297 clr.l [A7]
00001718 4EFA 00CA jmp [PC + 0xCA /* 000017E4 */]
label0000171C:
0000171C 4EFA 00C4 jmp [PC + 0xC4 /* 000017E2 */]
00001720 225F movea.l A1, [A7]+
00001722 201F move.l D0, [A7]+
00001724 205F movea.l A0, [A7]+
00001726 A020 syscall SetPtrSize
00001728 4EFA 00BA jmp [PC + 0xBA /* 000017E4 */]
0000172C 225F movea.l A1, [A7]+
0000172E 205F movea.l A0, [A7]+
00001730 A148 syscall PtrZone, flags=1
00001732 2E88 move.l [A7], A0
00001734 4EFA 00AE jmp [PC + 0xAE /* 000017E4 */]
00001738 A01C syscall FreeMem
0000173A 2F40 0004 move.l [A7 + 0x4], D0
0000173E 4EFA 00AC jmp [PC + 0xAC /* 000017EC */]
00001742 225F movea.l A1, [A7]+
00001744 A11D syscall MaxMem, flags=1
00001746 2208 move.l D1, A0
00001748 205F movea.l A0, [A7]+
0000174A 2081 move.l [A0], D1
0000174C 2E80 move.l [A7], D0
0000174E 4EFA 0092 jmp [PC + 0x92 /* 000017E2 */]
00001752 225F movea.l A1, [A7]+
00001754 201F move.l D0, [A7]+
00001756 A04C syscall CompactMem
00001758 2E80 move.l [A7], D0
0000175A 4EFA 0086 jmp [PC + 0x86 /* 000017E2 */]
0000175E 225F movea.l A1, [A7]+
00001760 201F move.l D0, [A7]+
00001762 A040 syscall ResrvMem/ReserveMem
00001764 4EFA 007E jmp [PC + 0x7E /* 000017E4 */]
00001768 225F movea.l A1, [A7]+
0000176A 201F move.l D0, [A7]+
0000176C A04D syscall PurgeMem
0000176E 4EFA 0074 jmp [PC + 0x74 /* 000017E4 */]
00001772 225F movea.l A1, [A7]+
00001774 205F movea.l A0, [A7]+
00001776 A02B syscall EmptyHandle
00001778 4EFA 006A jmp [PC + 0x6A /* 000017E4 */]
export_24:
0000177C 225F movea.l A1, [A7]+
0000177E 205F movea.l A0, [A7]+
00001780 A029 syscall HLock
00001782 4EFA 0060 jmp [PC + 0x60 /* 000017E4 */]
export_23:
00001786 225F movea.l A1, [A7]+
00001788 205F movea.l A0, [A7]+
0000178A A02A syscall HUnlock
0000178C 4EFA 0056 jmp [PC + 0x56 /* 000017E4 */]
00001790 225F movea.l A1, [A7]+
00001792 205F movea.l A0, [A7]+
00001794 A049 syscall HPurge
00001796 4EFA 004C jmp [PC + 0x4C /* 000017E4 */]
0000179A 225F movea.l A1, [A7]+
0000179C 205F movea.l A0, [A7]+
0000179E A04A syscall HNoPurge
000017A0 4EFA 0042 jmp [PC + 0x42 /* 000017E4 */]
000017A4 225F movea.l A1, [A7]+
000017A6 205F movea.l A0, [A7]+
000017A8 A04B syscall SetGrowZone
000017AA 4EFA 0038 jmp [PC + 0x38 /* 000017E4 */]
000017AE 2F78 0328 0004 move.l [A7 + 0x4], [0x00000328 /* GZRootHnd */]
000017B4 4E75 rts
export_21:
000017B6 221F move.l D1, [A7]+
000017B8 201F move.l D0, [A7]+
000017BA 225F movea.l A1, [A7]+
000017BC 205F movea.l A0, [A7]+
000017BE A02E syscall BlockMove/BlockMoveData
000017C0 2241 movea.l A1, D1
000017C2 4EFA 0020 jmp [PC + 0x20 /* 000017E4 */]
000017C6 2F78 0108 0004 move.l [A7 + 0x4], [0x00000108 /* MemTop */]
000017CC 4EFA 001E jmp [PC + 0x1E /* 000017EC */]
export_19:
000017D0 3F78 0220 0004 move.w [A7 + 0x4], [0x00000220 /* MemErr */]
000017D6 4E75 rts
000017D8 2F78 0130 0004 move.l [A7 + 0x4], [0x00000130 /* ApplLimit */]
000017DE 4EFA 000C jmp [PC + 0xC /* 000017EC */]
label000017E2:
000017E2 7000 moveq.l D0, 0x00
label000017E4:
000017E4 2F09 move.l -[A7], A1
label000017E6:
000017E6 31C0 0220 move.w [0x00000220 /* MemErr */], D0
000017EA 4E75 rts
label000017EC:
000017EC 7000 moveq.l D0, 0x00
000017EE 60F6 bra -0x8 /* 000017E6 */
export_29:
000017F0 3038 00E4 move.w D0, [0x000000E4]
000017F4 B078 02AE cmp.w D0, [0x000002AE /* ROMBase */]
000017F8 651E bcs +0x20 /* 00001818 */
000017FA 703A moveq.l D0, 0x3A
000017FC A322 syscall NewHandleClear, flags=3
000017FE 6600 00DA bne +0xDC /* 000018DA */
00001802 A029 syscall HLock
00001804 21C8 00E4 move.l [0x000000E4], A0
00001808 2250 movea.l A1, [A0]
0000180A 2378 033C 0034 move.l [A1 + 0x34], [0x0000033C /* IAZNotify */]
00001810 41FA 010E lea.l A0, [PC + 0x10E /* 00001920, value 0x61E42038 */]
00001814 21C8 033C move.l [0x0000033C /* IAZNotify */], A0
label00001818:
00001818 2078 00E4 movea.l A0, [0x000000E4]
0000181C 2250 movea.l A1, [A0]
0000181E 4A69 0010 tst.w [A1 + 0x10]
00001822 677E beq +0x80 /* 000018A2 */
00001824 222F 0004 move.l D1, [A7 + 0x4]
00001828 6B72 bmi +0x74 /* 0000189C */
0000182A 50E9 0039 st [A1 + 0x39]
0000182E 3229 0032 move.w D1, [A1 + 0x32]
00001832 2408 move.l D2, A0
00001834 48E7 6000 movem.l -[A7], D1,D2
00001838 A9E1 syscall HandToHand
0000183A 4CDF 0006 movem.l D1,D2, [A7]+
0000183E 4A40 tst.w D0
00001840 6600 0098 bne +0x9A /* 000018DA */
00001844 7000 moveq.l D0, 0x00
00001846 0641 000C addi.w D1, 0xC
0000184A 3001 move.w D0, D1
0000184C A024 syscall SetHandleSize
0000184E 6600 008A bne +0x8C /* 000018DA */
00001852 A029 syscall HLock
00001854 21C8 00E4 move.l [0x000000E4], A0
00001858 2250 movea.l A1, [A0]
0000185A 2078 027A movea.l A0, [0x0000027A /* SoundDCE */]
0000185E 2149 0008 move.l [A0 + 0x8], A1
00001862 2149 000C move.l [A0 + 0xC], A1
00001866 2042 movea.l A0, D2
00001868 2050 movea.l A0, [A0]
0000186A 1028 0038 move.b D0, [A0 + 0x38]
0000186E 8129 0038 or.b [A1 + 0x38], D0
00001872 2042 movea.l A0, D2
00001874 A023 syscall DisposHandle/DisposeHandle
00001876 3341 0032 move.w [A1 + 0x32], D1
0000187A 08A9 0000 0038 bclr.b [A1 + 0x38], 0x0
00001880 6708 beq +0xA /* 0000188A */
00001882 4269 0010 clr.w [A1 + 0x10]
00001886 4EBA 00A4 jsr [PC + 0xA4 /* 0000192C */]
label0000188A:
0000188A 51E9 0039 sf [A1 + 0x39]
0000188E D2C1 add.w A1, D1
00001890 700C moveq.l D0, 0x0C
00001892 92C0 sub.w A1, D0
00001894 41EF 0004 lea.l A0, [A7 + 0x4]
00001898 A02E syscall BlockMove/BlockMoveData
0000189A 6042 bra +0x44 /* 000018DE */
label0000189C:
0000189C 3028 0010 move.w D0, [A0 + 0x10]
000018A0 6EFA bgt -0x4 /* 0000189C */
label000018A2:
000018A2 2049 movea.l A0, A1
000018A4 317C 003A 0032 move.w [A0 + 0x32], 0x3A /* ':' */
000018AA 216F 0008 0024 move.l [A0 + 0x24], [A7 + 0x8]
000018B0 216F 000C 0020 move.l [A0 + 0x20], [A7 + 0xC]
000018B6 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
000018BC 222F 0004 move.l D1, [A7 + 0x4]
000018C0 6A08 bpl +0xA /* 000018CA */
000018C2 42A8 000C clr.l [A0 + 0xC]
000018C6 A003 syscall Write
000018C8 600E bra +0x10 /* 000018D8 */
label000018CA:
000018CA 2141 001C move.l [A0 + 0x1C], D1
000018CE 43FA 005C lea.l A1, [PC + 0x5C /* 0000192C, value 0x48E7E0C0 */]
000018D2 2149 000C move.l [A0 + 0xC], A1
000018D6 A403 syscall Write, flags=4
label000018D8:
000018D8 4A40 tst.w D0
label000018DA:
000018DA 6702 beq +0x4 /* 000018DE */
000018DC 6108 bsr +0xA /* 000018E6 */
label000018DE:
000018DE 225F movea.l A1, [A7]+
000018E0 DEFC 000C add.w A7, 0xC
000018E4 4ED1 jmp [A1]
fn000018E6:
000018E6 3078 00E4 movea.w A0, [0x000000E4]
000018EA B0F8 02AE cmpa.w A0, [0x000002AE /* ROMBase */]
000018EE 6714 beq +0x16 /* 00001904 */
000018F0 2078 00E4 movea.l A0, [0x000000E4]
000018F4 2250 movea.l A1, [A0]
000018F6 21E9 0034 033C move.l [0x0000033C /* IAZNotify */], [A1 + 0x34]
000018FC A023 syscall DisposHandle/DisposeHandle
000018FE 31F8 02AE 00E4 move.w [0x000000E4], [0x000002AE /* ROMBase */]
label00001904:
00001904 4E75 rts
export_28:
fn00001906:
00001906 4E56 FFE0 link A6, -0x0020
0000190A 41EE FFE0 lea.l A0, [A6 - 0x20]
0000190E 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
00001914 A206 syscall KillIO, flags=2
00001916 4278 0280 clr.w [0x00000280 /* CurPitch */]
0000191A 61CA bsr -0x34 /* 000018E6 */
0000191C 4E5E unlink A6
label0000191E:
0000191E 4E75 rts
00001920 61E4 bsr -0x1A /* 00001906 */
00001922 2038 033C move.l D0, [0x0000033C /* IAZNotify */]
00001926 6FF6 ble -0x8 /* 0000191E */
00001928 2040 movea.l A0, D0
0000192A 4ED0 jmp [A0]
fn0000192C:
0000192C 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00001930 2078 00E4 movea.l A0, [0x000000E4]
00001934 2050 movea.l A0, [A0]
00001936 4A28 0039 tst.b [A0 + 0x39]
0000193A 6706 beq +0x8 /* 00001942 */
0000193C 50E8 0038 st [A0 + 0x38]
00001940 6060 bra +0x62 /* 000019A2 */
label00001942:
00001942 3028 0032 move.w D0, [A0 + 0x32]
00001946 2228 001C move.l D1, [A0 + 0x1C]
0000194A 670C beq +0xE /* 00001958 */
0000194C 2241 movea.l A1, D1
0000194E 48E7 8080 movem.l -[A7], D0,A0
00001952 4E91 jsr [A1]
00001954 4CDF 0101 movem.l D0,A0, [A7]+
label00001958:
00001958 0C40 003A cmpi.w D0, 0x3A /* ':' */
0000195C 6744 beq +0x46 /* 000019A2 */
0000195E 2248 movea.l A1, A0
00001960 41E8 003A lea.l A0, [A0 + 0x3A]
00001964 2358 001C move.l [A1 + 0x1C], [A0]+
00001968 2358 0024 move.l [A1 + 0x24], [A0]+
0000196C 2358 0020 move.l [A1 + 0x20], [A0]+
00001970 337C FFFC 0018 move.w [A1 + 0x18], 0xFFFC
00001976 7246 moveq.l D1, 0x46
00001978 9041 sub.w D0, D1
0000197A 6710 beq +0x12 /* 0000198C */
0000197C 3200 move.w D1, D0
0000197E 2248 movea.l A1, A0
00001980 92FC 000C sub.w A1, 0xC
00001984 A02E syscall BlockMove/BlockMoveData
00001986 0641 003A addi.w D1, 0x3A /* ':' */
0000198A 6002 bra +0x4 /* 0000198E */
label0000198C:
0000198C 723A moveq.l D1, 0x3A
label0000198E:
0000198E 2078 00E4 movea.l A0, [0x000000E4]
00001992 2050 movea.l A0, [A0]
00001994 3141 0032 move.w [A0 + 0x32], D1
00001998 43FA FF92 lea.l A1, [PC - 0x6E /* 0000192C, value 0x48E7E0C0 */]
0000199C 2149 000C move.l [A0 + 0xC], A1
000019A0 A403 syscall Write, flags=4
label000019A2:
000019A2 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
000019A6 4E75 rts
export_31:
000019A8 3038 00E4 move.w D0, [0x000000E4]
000019AC B078 02AE cmp.w D0, [0x000002AE /* ROMBase */]
000019B0 670A beq +0xC /* 000019BC */
000019B2 2078 00E4 movea.l A0, [0x000000E4]
000019B6 2050 movea.l A0, [A0]
000019B8 4A68 0010 tst.w [A0 + 0x10]
label000019BC:
000019BC 57EF 0004 seq [A7 + 0x4]
000019C0 442F 0004 neg.b [A7 + 0x4]
000019C4 4E75 rts
export_32:
000019C6 205F movea.l A0, [A7]+
000019C8 225F movea.l A1, [A7]+
000019CA 4219 clr.b [A1]+
000019CC 12B8 0260 move.b [A1], [0x00000260 /* SdVolume */]
000019D0 4ED0 jmp [A0]
export_30:
000019D2 4A38 028E tst.b [0x0000028E /* ROM85 */]
000019D6 6B24 bmi +0x26 /* 000019FC */
000019D8 205F movea.l A0, [A7]+
000019DA 301F move.w D0, [A7]+
000019DC 2F08 move.l -[A7], A0
000019DE 4E56 FFE0 link A6, -0x0020
000019E2 41EE FFE0 lea.l A0, [A6 - 0x20]
000019E6 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
000019EC 317C 0002 001A move.w [A0 + 0x1A], 0x2
000019F2 3140 001C move.w [A0 + 0x1C], D0
000019F6 A204 syscall Control, flags=2
000019F8 4E5E unlink A6
000019FA 4E75 rts
label000019FC:
000019FC 205F movea.l A0, [A7]+
000019FE 301F move.w D0, [A7]+
00001A00 2F08 move.l -[A7], A0
00001A02 0C39 00FF 0040 0009 cmpi.b [0x00400009], 0xFF
00001A0A 6724 beq +0x26 /* 00001A30 */
00001A0C 40E7 move.w -[A7], SR
00001A0E 007C 0300 ori.w sr, 768
00001A12 1239 00EF FFFE move.b D1, [0x00EFFFFE]
00001A18 0241 00F8 andi.w D1, 0xF8
00001A1C 0240 0007 andi.w D0, 0x7
00001A20 11C0 0260 move.b [0x00000260 /* SdVolume */], D0
00001A24 8240 or.w D1, D0
00001A26 13C1 00EF FFFE move.b [0x00EFFFFE], D1
00001A2C 46DF move.w SR, [A7]+
00001A2E 4E75 rts
label00001A30:
00001A30 0240 0007 andi.w D0, 0x7
00001A34 11C0 0260 move.b [0x00000260 /* SdVolume */], D0
00001A38 E348 lsl D0.w, 1
00001A3A 1239 00FC DD81 move.b D1, [0x00FCDD81]
00001A40 0201 00F1 andi.b D1, 0xF1
00001A44 8200 or.b D1, D0
00001A46 13C1 00FC DD81 move.b [0x00FCDD81], D1
00001A4C 4E75 rts